类 MybatisPlusLoggingEventListener
java.lang.Object
com.p6spy.engine.event.JdbcEventListener
com.p6spy.engine.event.SimpleJdbcEventListener
com.p6spy.engine.logging.LoggingEventListener
com.baomidou.mybatisplus.extension.p6spy.MybatisPlusLoggingEventListener
public class MybatisPlusLoggingEventListener
extends com.p6spy.engine.logging.LoggingEventListener
监听事件
- 从以下版本开始:
- 2019-11-10
- 作者:
- nieqiurong
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidonAfterExecuteBatch(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, int[] updateCounts, SQLException e) 从类继承的方法 com.p6spy.engine.logging.LoggingEventListener
logElapsed, onAfterAnyAddBatch, onAfterAnyExecute, onAfterCommit, onAfterGetResultSet, onAfterResultSetClose, onAfterResultSetGet, onAfterResultSetGet, onAfterResultSetNext, onAfterRollback, onBeforeResultSetNext从类继承的方法 com.p6spy.engine.event.SimpleJdbcEventListener
onAfterAddBatch, onAfterAddBatch, onAfterExecute, onAfterExecute, onAfterExecuteQuery, onAfterExecuteQuery, onAfterExecuteUpdate, onAfterExecuteUpdate, onBeforeAddBatch, onBeforeAddBatch, onBeforeAnyAddBatch, onBeforeAnyExecute, onBeforeExecute, onBeforeExecute, onBeforeExecuteBatch, onBeforeExecuteQuery, onBeforeExecuteQuery, onBeforeExecuteUpdate, onBeforeExecuteUpdate从类继承的方法 com.p6spy.engine.event.JdbcEventListener
onAfterCallableStatementSet, onAfterConnectionClose, onAfterGetConnection, onAfterPreparedStatementSet, onAfterSetAutoCommit, onAfterStatementClose, onBeforeCommit, onBeforeGetConnection, onBeforeRollback, onBeforeSetAutoCommit, onConnectionWrapped
-
构造器详细资料
-
MybatisPlusLoggingEventListener
public MybatisPlusLoggingEventListener()
-
-
方法详细资料
-
getInstance
-
onAfterExecuteBatch
public void onAfterExecuteBatch(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, int[] updateCounts, SQLException e) - 覆盖:
onAfterExecuteBatch在类中com.p6spy.engine.logging.LoggingEventListener
-