Class JdbcInterceptor
java.lang.Object
com.p6spy.engine.event.JdbcEventListener
com.p6spy.engine.event.SimpleJdbcEventListener
dev.inspector.spring.interceptors.db.JdbcInterceptor
@Service
public class JdbcInterceptor
extends com.p6spy.engine.event.SimpleJdbcEventListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAfterAnyExecute(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, SQLException e) voidonBeforeAnyExecute(com.p6spy.engine.common.StatementInformation statementInformation) Methods inherited from class com.p6spy.engine.event.SimpleJdbcEventListener
onAfterAddBatch, onAfterAddBatch, onAfterAnyAddBatch, onAfterExecute, onAfterExecute, onAfterExecuteBatch, onAfterExecuteQuery, onAfterExecuteQuery, onAfterExecuteUpdate, onAfterExecuteUpdate, onBeforeAddBatch, onBeforeAddBatch, onBeforeAnyAddBatch, onBeforeExecute, onBeforeExecute, onBeforeExecuteBatch, onBeforeExecuteQuery, onBeforeExecuteQuery, onBeforeExecuteUpdate, onBeforeExecuteUpdateMethods inherited from class com.p6spy.engine.event.JdbcEventListener
onAfterCallableStatementSet, onAfterCommit, onAfterConnectionClose, onAfterGetConnection, onAfterGetResultSet, onAfterPreparedStatementSet, onAfterResultSetClose, onAfterResultSetGet, onAfterResultSetGet, onAfterResultSetNext, onAfterRollback, onAfterSetAutoCommit, onAfterStatementClose, onBeforeCommit, onBeforeGetConnection, onBeforeResultSetNext, onBeforeRollback, onBeforeSetAutoCommit, onConnectionWrapped
-
Constructor Details
-
JdbcInterceptor
-
-
Method Details
-
onBeforeAnyExecute
public void onBeforeAnyExecute(com.p6spy.engine.common.StatementInformation statementInformation) - Overrides:
onBeforeAnyExecutein classcom.p6spy.engine.event.SimpleJdbcEventListener
-
onAfterAnyExecute
public void onAfterAnyExecute(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, SQLException e) - Overrides:
onAfterAnyExecutein classcom.p6spy.engine.event.SimpleJdbcEventListener
-