类 MybatisPlusLoggingEventListener


  • public class MybatisPlusLoggingEventListener
    extends com.p6spy.engine.logging.LoggingEventListener
    监听事件
    从以下版本开始:
    2019-11-10
    作者:
    nieqiurong
    • 方法概要

      所有方法 静态方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      static MybatisPlusLoggingEventListener getInstance()  
      void onAfterExecuteBatch​(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
      • 从类继承的方法 com.p6spy.engine.event.JdbcEventListener

        onAfterCallableStatementSet, onAfterConnectionClose, onAfterGetConnection, onAfterPreparedStatementSet, onAfterSetAutoCommit, onAfterStatementClose, onBeforeCommit, onBeforeGetConnection, onBeforeRollback, onBeforeSetAutoCommit, onConnectionWrapped
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • MybatisPlusLoggingEventListener

        public MybatisPlusLoggingEventListener()
    • 方法详细资料

      • onAfterExecuteBatch

        public void onAfterExecuteBatch​(com.p6spy.engine.common.StatementInformation statementInformation,
                                        long timeElapsedNanos,
                                        int[] updateCounts,
                                        java.sql.SQLException e)
        覆盖:
        onAfterExecuteBatch 在类中 com.p6spy.engine.logging.LoggingEventListener