public interface JdbcLifecycleEventListener extends WrapperMethodCallbacks, DataSourceMethodCallbacks, ConnectionMethodCallbacks, StatementMethodCallbacks, PreparedStatementMethodCallbacks, CallableStatementMethodCallbacks, ResultSetMethodCallbacks
DataSource,
Connection, Statement, PreparedStatement,
CallableStatement, ResultSet), as well as
callbacks for any method calls (beforeMethod(MethodExecutionContext), afterMethod(MethodExecutionContext))
and query executions(beforeQuery(ExecutionInfo, List), afterQuery(ExecutionInfo, List)).JdbcLifecycleEventExecutionListener,
JdbcLifecycleEventListenerAdapter| Modifier and Type | Method and Description |
|---|---|
void |
afterMethod(MethodExecutionContext executionContext) |
void |
afterQuery(ExecutionInfo execInfo,
List<QueryInfo> queryInfoList) |
void |
beforeMethod(MethodExecutionContext executionContext) |
void |
beforeQuery(ExecutionInfo execInfo,
List<QueryInfo> queryInfoList) |
afterIsWrapperFor, afterUnwrap, beforeIsWrapperFor, beforeUnwrapafterGetConnection, afterGetLoginTimeout, afterGetLogWriter, afterGetParentLogger, afterSetLoginTimeout, afterSetLogWriter, beforeGetConnection, beforeGetLoginTimeout, beforeGetLogWriter, beforeGetParentLogger, beforeSetLoginTimeout, beforeSetLogWriterafterAbort, afterClearWarnings, afterClose, afterCommit, afterCreateArrayOf, afterCreateBlob, afterCreateClob, afterCreateNClob, afterCreateSQLXML, afterCreateStatement, afterCreateStruct, afterGetAutoCommit, afterGetCatalog, afterGetClientInfo, afterGetHoldability, afterGetMetaData, afterGetNetworkTimeout, afterGetSchema, afterGetTransactionIsolation, afterGetTypeMap, afterGetWarnings, afterIsClosed, afterIsReadOnly, afterIsValid, afterNativeSQL, afterPrepareCall, afterPrepareStatement, afterReleaseSavepoint, afterRollback, afterSetAutoCommit, afterSetCatalog, afterSetClientInfo, afterSetHoldability, afterSetNetworkTimeout, afterSetReadOnly, afterSetSavepoint, afterSetSchema, afterSetTransactionIsolation, afterSetTypeMap, beforeAbort, beforeClearWarnings, beforeClose, beforeCommit, beforeCreateArrayOf, beforeCreateBlob, beforeCreateClob, beforeCreateNClob, beforeCreateSQLXML, beforeCreateStatement, beforeCreateStruct, beforeGetAutoCommit, beforeGetCatalog, beforeGetClientInfo, beforeGetHoldability, beforeGetMetaData, beforeGetNetworkTimeout, beforeGetSchema, beforeGetTransactionIsolation, beforeGetTypeMap, beforeGetWarnings, beforeIsClosed, beforeIsReadOnly, beforeIsValid, beforeNativeSQL, beforePrepareCall, beforePrepareStatement, beforeReleaseSavepoint, beforeRollback, beforeSetAutoCommit, beforeSetCatalog, beforeSetClientInfo, beforeSetHoldability, beforeSetNetworkTimeout, beforeSetReadOnly, beforeSetSavepoint, beforeSetSchema, beforeSetTransactionIsolation, beforeSetTypeMapafterAddBatch, afterCancel, afterClearBatch, afterClearWarnings, afterClose, afterCloseOnCompletion, afterExecute, afterExecuteBatch, afterExecuteLargeBatch, afterExecuteLargeUpdate, afterExecuteQuery, afterExecuteUpdate, afterGetConnection, afterGetFetchDirection, afterGetFetchSize, afterGetGeneratedKeys, afterGetLargeMaxRows, afterGetLargeUpdateCount, afterGetMaxFieldSize, afterGetMaxRows, afterGetMoreResults, afterGetQueryTimeout, afterGetResultSet, afterGetResultSetConcurrency, afterGetResultSetHoldability, afterGetResultSetType, afterGetUpdateCount, afterGetWarnings, afterIsClosed, afterIsCloseOnCompletion, afterIsPoolable, afterSetCursorName, afterSetEscapeProcessing, afterSetFetchDirection, afterSetFetchSize, afterSetLargeMaxRows, afterSetMaxFieldSize, afterSetMaxRows, afterSetPoolable, afterSetQueryTimeout, beforeAddBatch, beforeCancel, beforeClearBatch, beforeClearWarnings, beforeClose, beforeCloseOnCompletion, beforeExecute, beforeExecuteBatch, beforeExecuteLargeBatch, beforeExecuteLargeUpdate, beforeExecuteQuery, beforeExecuteUpdate, beforeGetConnection, beforeGetFetchDirection, beforeGetFetchSize, beforeGetGeneratedKeys, beforeGetLargeMaxRows, beforeGetLargeUpdateCount, beforeGetMaxFieldSize, beforeGetMaxRows, beforeGetMoreResults, beforeGetQueryTimeout, beforeGetResultSet, beforeGetResultSetConcurrency, beforeGetResultSetHoldability, beforeGetResultSetType, beforeGetUpdateCount, beforeGetWarnings, beforeIsClosed, beforeIsCloseOnCompletion, beforeIsPoolable, beforeSetCursorName, beforeSetEscapeProcessing, beforeSetFetchDirection, beforeSetFetchSize, beforeSetLargeMaxRows, beforeSetMaxFieldSize, beforeSetMaxRows, beforeSetPoolable, beforeSetQueryTimeoutafterAddBatch, afterClearParameters, afterExecute, afterExecuteLargeUpdate, afterExecuteQuery, afterExecuteUpdate, afterGetMetaData, afterGetParameterMetaData, afterSetArray, afterSetAsciiStream, afterSetBigDecimal, afterSetBinaryStream, afterSetBlob, afterSetBoolean, afterSetByte, afterSetBytes, afterSetCharacterStream, afterSetClob, afterSetDate, afterSetDouble, afterSetFloat, afterSetInt, afterSetLong, afterSetNCharacterStream, afterSetNClob, afterSetNString, afterSetNull, afterSetObject, afterSetRef, afterSetRowId, afterSetShort, afterSetSQLXML, afterSetString, afterSetTime, afterSetTimestamp, afterSetUnicodeStream, afterSetURL, beforeAddBatch, beforeClearParameters, beforeExecute, beforeExecuteLargeUpdate, beforeExecuteQuery, beforeExecuteUpdate, beforeGetMetaData, beforeGetParameterMetaData, beforeSetArray, beforeSetAsciiStream, beforeSetBigDecimal, beforeSetBinaryStream, beforeSetBlob, beforeSetBoolean, beforeSetByte, beforeSetBytes, beforeSetCharacterStream, beforeSetClob, beforeSetDate, beforeSetDouble, beforeSetFloat, beforeSetInt, beforeSetLong, beforeSetNCharacterStream, beforeSetNClob, beforeSetNString, beforeSetNull, beforeSetObject, beforeSetRef, beforeSetRowId, beforeSetShort, beforeSetSQLXML, beforeSetString, beforeSetTime, beforeSetTimestamp, beforeSetUnicodeStream, beforeSetURLafterGetArray, afterGetBigDecimal, afterGetBlob, afterGetBoolean, afterGetByte, afterGetBytes, afterGetCharacterStream, afterGetClob, afterGetDate, afterGetDouble, afterGetFloat, afterGetInt, afterGetLong, afterGetNCharacterStream, afterGetNClob, afterGetNString, afterGetObject, afterGetRef, afterGetRowId, afterGetShort, afterGetSQLXML, afterGetString, afterGetTime, afterGetTimestamp, afterGetURL, afterRegisterOutParameter, afterSetAsciiStream, afterSetBigDecimal, afterSetBinaryStream, afterSetBlob, afterSetBoolean, afterSetByte, afterSetBytes, afterSetCharacterStream, afterSetClob, afterSetDate, afterSetDouble, afterSetFloat, afterSetInt, afterSetLong, afterSetNCharacterStream, afterSetNClob, afterSetNString, afterSetNull, afterSetObject, afterSetRowId, afterSetShort, afterSetSQLXML, afterSetString, afterSetTime, afterSetTimestamp, afterSetURL, afterWasNull, beforeGetArray, beforeGetBigDecimal, beforeGetBlob, beforeGetBoolean, beforeGetByte, beforeGetBytes, beforeGetCharacterStream, beforeGetClob, beforeGetDate, beforeGetDouble, beforeGetFloat, beforeGetInt, beforeGetLong, beforeGetNCharacterStream, beforeGetNClob, beforeGetNString, beforeGetObject, beforeGetRef, beforeGetRowId, beforeGetShort, beforeGetSQLXML, beforeGetString, beforeGetTime, beforeGetTimestamp, beforeGetURL, beforeRegisterOutParameter, beforeSetAsciiStream, beforeSetBigDecimal, beforeSetBinaryStream, beforeSetBlob, beforeSetBoolean, beforeSetByte, beforeSetBytes, beforeSetCharacterStream, beforeSetClob, beforeSetDate, beforeSetDouble, beforeSetFloat, beforeSetInt, beforeSetLong, beforeSetNCharacterStream, beforeSetNClob, beforeSetNString, beforeSetNull, beforeSetObject, beforeSetRowId, beforeSetShort, beforeSetSQLXML, beforeSetString, beforeSetTime, beforeSetTimestamp, beforeSetURL, beforeWasNullafterAbsolute, afterAfterLast, afterBeforeFirst, afterCancelRowUpdates, afterClearWarnings, afterClose, afterDeleteRow, afterFindColumn, afterFirst, afterGetArray, afterGetAsciiStream, afterGetBigDecimal, afterGetBinaryStream, afterGetBlob, afterGetBoolean, afterGetByte, afterGetBytes, afterGetCharacterStream, afterGetClob, afterGetConcurrency, afterGetCursorName, afterGetDate, afterGetDouble, afterGetFetchDirection, afterGetFetchSize, afterGetFloat, afterGetHoldability, afterGetInt, afterGetLong, afterGetMetaData, afterGetNCharacterStream, afterGetNClob, afterGetNString, afterGetObject, afterGetRef, afterGetRow, afterGetRowId, afterGetShort, afterGetSQLXML, afterGetStatement, afterGetString, afterGetTime, afterGetTimestamp, afterGetType, afterGetUnicodeStream, afterGetURL, afterGetWarnings, afterInsertRow, afterIsAfterLast, afterIsBeforeFirst, afterIsClosed, afterIsFirst, afterIsLast, afterLast, afterMoveToCurrentRow, afterMoveToInsertRow, afterNext, afterPrevious, afterRefreshRow, afterRelative, afterRowDeleted, afterRowInserted, afterRowUpdated, afterSetFetchDirection, afterSetFetchSize, afterUpdateArray, afterUpdateAsciiStream, afterUpdateBigDecimal, afterUpdateBinaryStream, afterUpdateBlob, afterUpdateBoolean, afterUpdateByte, afterUpdateBytes, afterUpdateCharacterStream, afterUpdateClob, afterUpdateDate, afterUpdateDouble, afterUpdateFloat, afterUpdateInt, afterUpdateLong, afterUpdateNCharacterStream, afterUpdateNClob, afterUpdateNString, afterUpdateNull, afterUpdateObject, afterUpdateRef, afterUpdateRow, afterUpdateRowId, afterUpdateShort, afterUpdateSQLXML, afterUpdateString, afterUpdateTime, afterUpdateTimestamp, afterWasNull, beforeAbsolute, beforeAfterLast, beforeBeforeFirst, beforeCancelRowUpdates, beforeClearWarnings, beforeClose, beforeDeleteRow, beforeFindColumn, beforeFirst, beforeGetArray, beforeGetAsciiStream, beforeGetBigDecimal, beforeGetBinaryStream, beforeGetBlob, beforeGetBoolean, beforeGetByte, beforeGetBytes, beforeGetCharacterStream, beforeGetClob, beforeGetConcurrency, beforeGetCursorName, beforeGetDate, beforeGetDouble, beforeGetFetchDirection, beforeGetFetchSize, beforeGetFloat, beforeGetHoldability, beforeGetInt, beforeGetLong, beforeGetMetaData, beforeGetNCharacterStream, beforeGetNClob, beforeGetNString, beforeGetObject, beforeGetRef, beforeGetRow, beforeGetRowId, beforeGetShort, beforeGetSQLXML, beforeGetStatement, beforeGetString, beforeGetTime, beforeGetTimestamp, beforeGetType, beforeGetUnicodeStream, beforeGetURL, beforeGetWarnings, beforeInsertRow, beforeIsAfterLast, beforeIsBeforeFirst, beforeIsClosed, beforeIsFirst, beforeIsLast, beforeLast, beforeMoveToCurrentRow, beforeMoveToInsertRow, beforeNext, beforePrevious, beforeRefreshRow, beforeRelative, beforeRowDeleted, beforeRowInserted, beforeRowUpdated, beforeSetFetchDirection, beforeSetFetchSize, beforeUpdateArray, beforeUpdateAsciiStream, beforeUpdateBigDecimal, beforeUpdateBinaryStream, beforeUpdateBlob, beforeUpdateBoolean, beforeUpdateByte, beforeUpdateBytes, beforeUpdateCharacterStream, beforeUpdateClob, beforeUpdateDate, beforeUpdateDouble, beforeUpdateFloat, beforeUpdateInt, beforeUpdateLong, beforeUpdateNCharacterStream, beforeUpdateNClob, beforeUpdateNString, beforeUpdateNull, beforeUpdateObject, beforeUpdateRef, beforeUpdateRow, beforeUpdateRowId, beforeUpdateShort, beforeUpdateSQLXML, beforeUpdateString, beforeUpdateTime, beforeUpdateTimestamp, beforeWasNullvoid beforeMethod(MethodExecutionContext executionContext)
void afterMethod(MethodExecutionContext executionContext)
void beforeQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
void afterQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
Copyright © 2023. All rights reserved.