类 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
-
-
构造器概要
构造器 构造器 说明 MybatisPlusLoggingEventListener()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static MybatisPlusLoggingEventListenergetInstance()voidonAfterExecuteBatch(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, int[] updateCounts, java.sql.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
-
-
-
-
方法详细资料
-
getInstance
public static MybatisPlusLoggingEventListener getInstance()
-
onAfterExecuteBatch
public void onAfterExecuteBatch(com.p6spy.engine.common.StatementInformation statementInformation, long timeElapsedNanos, int[] updateCounts, java.sql.SQLException e)- 覆盖:
onAfterExecuteBatch在类中com.p6spy.engine.logging.LoggingEventListener
-
-