public interface JdbcLifecycleEventListener extends 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) |
afterGetConnectionOnDataSource, afterGetLoginTimeoutOnDataSource, afterGetLogWriterOnDataSource, afterGetParentLoggerOnDataSource, afterIsWrapperForOnDataSource, afterSetLoginTimeoutOnDataSource, afterSetLogWriterOnDataSource, afterUnwrapOnDataSource, beforeGetConnectionOnDataSource, beforeGetLoginTimeoutOnDataSource, beforeGetLogWriterOnDataSource, beforeGetParentLoggerOnDataSource, beforeIsWrapperForOnDataSource, beforeSetLoginTimeoutOnDataSource, beforeSetLogWriterOnDataSource, beforeUnwrapOnDataSourceafterAbortOnConnection, afterClearWarningsOnConnection, afterCloseOnConnection, afterCommitOnConnection, afterCreateArrayOfOnConnection, afterCreateBlobOnConnection, afterCreateClobOnConnection, afterCreateNClobOnConnection, afterCreateSQLXMLOnConnection, afterCreateStatementOnConnection, afterCreateStructOnConnection, afterGetAutoCommitOnConnection, afterGetCatalogOnConnection, afterGetClientInfoOnConnection, afterGetHoldabilityOnConnection, afterGetMetaDataOnConnection, afterGetNetworkTimeoutOnConnection, afterGetSchemaOnConnection, afterGetTransactionIsolationOnConnection, afterGetTypeMapOnConnection, afterGetWarningsOnConnection, afterIsClosedOnConnection, afterIsReadOnlyOnConnection, afterIsValidOnConnection, afterIsWrapperForOnConnection, afterNativeSQLOnConnection, afterPrepareCallOnConnection, afterPrepareStatementOnConnection, afterReleaseSavepointOnConnection, afterRollbackOnConnection, afterSetAutoCommitOnConnection, afterSetCatalogOnConnection, afterSetClientInfoOnConnection, afterSetHoldabilityOnConnection, afterSetNetworkTimeoutOnConnection, afterSetReadOnlyOnConnection, afterSetSavepointOnConnection, afterSetSchemaOnConnection, afterSetTransactionIsolationOnConnection, afterSetTypeMapOnConnection, afterUnwrapOnConnection, beforeAbortOnConnection, beforeClearWarningsOnConnection, beforeCloseOnConnection, beforeCommitOnConnection, beforeCreateArrayOfOnConnection, beforeCreateBlobOnConnection, beforeCreateClobOnConnection, beforeCreateNClobOnConnection, beforeCreateSQLXMLOnConnection, beforeCreateStatementOnConnection, beforeCreateStructOnConnection, beforeGetAutoCommitOnConnection, beforeGetCatalogOnConnection, beforeGetClientInfoOnConnection, beforeGetHoldabilityOnConnection, beforeGetMetaDataOnConnection, beforeGetNetworkTimeoutOnConnection, beforeGetSchemaOnConnection, beforeGetTransactionIsolationOnConnection, beforeGetTypeMapOnConnection, beforeGetWarningsOnConnection, beforeIsClosedOnConnection, beforeIsReadOnlyOnConnection, beforeIsValidOnConnection, beforeIsWrapperForOnConnection, beforeNativeSQLOnConnection, beforePrepareCallOnConnection, beforePrepareStatementOnConnection, beforeReleaseSavepointOnConnection, beforeRollbackOnConnection, beforeSetAutoCommitOnConnection, beforeSetCatalogOnConnection, beforeSetClientInfoOnConnection, beforeSetHoldabilityOnConnection, beforeSetNetworkTimeoutOnConnection, beforeSetReadOnlyOnConnection, beforeSetSavepointOnConnection, beforeSetSchemaOnConnection, beforeSetTransactionIsolationOnConnection, beforeSetTypeMapOnConnection, beforeUnwrapOnConnectionafterAddBatchOnStatement, afterCancelOnStatement, afterClearBatchOnStatement, afterClearWarningsOnStatement, afterCloseOnCompletionOnStatement, afterCloseOnStatement, afterExecuteBatchOnStatement, afterExecuteLargeBatchOnStatement, afterExecuteLargeUpdateOnStatement, afterExecuteOnStatement, afterExecuteQueryOnStatement, afterExecuteUpdateOnStatement, afterGetConnectionOnStatement, afterGetFetchDirectionOnStatement, afterGetFetchSizeOnStatement, afterGetGeneratedKeysOnStatement, afterGetLargeMaxRowsOnStatement, afterGetLargeUpdateCountOnStatement, afterGetMaxFieldSizeOnStatement, afterGetMaxRowsOnStatement, afterGetMoreResultsOnStatement, afterGetQueryTimeoutOnStatement, afterGetResultSetConcurrencyOnStatement, afterGetResultSetHoldabilityOnStatement, afterGetResultSetOnStatement, afterGetResultSetTypeOnStatement, afterGetUpdateCountOnStatement, afterGetWarningsOnStatement, afterIsClosedOnStatement, afterIsCloseOnCompletionOnStatement, afterIsPoolableOnStatement, afterIsWrapperForOnStatement, afterSetCursorNameOnStatement, afterSetEscapeProcessingOnStatement, afterSetFetchDirectionOnStatement, afterSetFetchSizeOnStatement, afterSetLargeMaxRowsOnStatement, afterSetMaxFieldSizeOnStatement, afterSetMaxRowsOnStatement, afterSetPoolableOnStatement, afterSetQueryTimeoutOnStatement, afterUnwrapOnStatement, beforeAddBatchOnStatement, beforeCancelOnStatement, beforeClearBatchOnStatement, beforeClearWarningsOnStatement, beforeCloseOnCompletionOnStatement, beforeCloseOnStatement, beforeExecuteBatchOnStatement, beforeExecuteLargeBatchOnStatement, beforeExecuteLargeUpdateOnStatement, beforeExecuteOnStatement, beforeExecuteQueryOnStatement, beforeExecuteUpdateOnStatement, beforeGetConnectionOnStatement, beforeGetFetchDirectionOnStatement, beforeGetFetchSizeOnStatement, beforeGetGeneratedKeysOnStatement, beforeGetLargeMaxRowsOnStatement, beforeGetLargeUpdateCountOnStatement, beforeGetMaxFieldSizeOnStatement, beforeGetMaxRowsOnStatement, beforeGetMoreResultsOnStatement, beforeGetQueryTimeoutOnStatement, beforeGetResultSetConcurrencyOnStatement, beforeGetResultSetHoldabilityOnStatement, beforeGetResultSetOnStatement, beforeGetResultSetTypeOnStatement, beforeGetUpdateCountOnStatement, beforeGetWarningsOnStatement, beforeIsClosedOnStatement, beforeIsCloseOnCompletionOnStatement, beforeIsPoolableOnStatement, beforeIsWrapperForOnStatement, beforeSetCursorNameOnStatement, beforeSetEscapeProcessingOnStatement, beforeSetFetchDirectionOnStatement, beforeSetFetchSizeOnStatement, beforeSetLargeMaxRowsOnStatement, beforeSetMaxFieldSizeOnStatement, beforeSetMaxRowsOnStatement, beforeSetPoolableOnStatement, beforeSetQueryTimeoutOnStatement, beforeUnwrapOnStatementafterAddBatchOnPreparedStatement, afterClearParametersOnPreparedStatement, afterExecuteLargeUpdateOnPreparedStatement, afterExecuteOnPreparedStatement, afterExecuteQueryOnPreparedStatement, afterExecuteUpdateOnPreparedStatement, afterGetMetaDataOnPreparedStatement, afterGetParameterMetaDataOnPreparedStatement, afterIsWrapperForOnPreparedStatement, afterSetArrayOnPreparedStatement, afterSetAsciiStreamOnPreparedStatement, afterSetBigDecimalOnPreparedStatement, afterSetBinaryStreamOnPreparedStatement, afterSetBlobOnPreparedStatement, afterSetBooleanOnPreparedStatement, afterSetByteOnPreparedStatement, afterSetBytesOnPreparedStatement, afterSetCharacterStreamOnPreparedStatement, afterSetClobOnPreparedStatement, afterSetDateOnPreparedStatement, afterSetDoubleOnPreparedStatement, afterSetFloatOnPreparedStatement, afterSetIntOnPreparedStatement, afterSetLongOnPreparedStatement, afterSetNCharacterStreamOnPreparedStatement, afterSetNClobOnPreparedStatement, afterSetNStringOnPreparedStatement, afterSetNullOnPreparedStatement, afterSetObjectOnPreparedStatement, afterSetRefOnPreparedStatement, afterSetRowIdOnPreparedStatement, afterSetShortOnPreparedStatement, afterSetSQLXMLOnPreparedStatement, afterSetStringOnPreparedStatement, afterSetTimeOnPreparedStatement, afterSetTimestampOnPreparedStatement, afterSetUnicodeStreamOnPreparedStatement, afterSetURLOnPreparedStatement, afterUnwrapOnPreparedStatement, beforeAddBatchOnPreparedStatement, beforeClearParametersOnPreparedStatement, beforeExecuteLargeUpdateOnPreparedStatement, beforeExecuteOnPreparedStatement, beforeExecuteQueryOnPreparedStatement, beforeExecuteUpdateOnPreparedStatement, beforeGetMetaDataOnPreparedStatement, beforeGetParameterMetaDataOnPreparedStatement, beforeIsWrapperForOnPreparedStatement, beforeSetArrayOnPreparedStatement, beforeSetAsciiStreamOnPreparedStatement, beforeSetBigDecimalOnPreparedStatement, beforeSetBinaryStreamOnPreparedStatement, beforeSetBlobOnPreparedStatement, beforeSetBooleanOnPreparedStatement, beforeSetByteOnPreparedStatement, beforeSetBytesOnPreparedStatement, beforeSetCharacterStreamOnPreparedStatement, beforeSetClobOnPreparedStatement, beforeSetDateOnPreparedStatement, beforeSetDoubleOnPreparedStatement, beforeSetFloatOnPreparedStatement, beforeSetIntOnPreparedStatement, beforeSetLongOnPreparedStatement, beforeSetNCharacterStreamOnPreparedStatement, beforeSetNClobOnPreparedStatement, beforeSetNStringOnPreparedStatement, beforeSetNullOnPreparedStatement, beforeSetObjectOnPreparedStatement, beforeSetRefOnPreparedStatement, beforeSetRowIdOnPreparedStatement, beforeSetShortOnPreparedStatement, beforeSetSQLXMLOnPreparedStatement, beforeSetStringOnPreparedStatement, beforeSetTimeOnPreparedStatement, beforeSetTimestampOnPreparedStatement, beforeSetUnicodeStreamOnPreparedStatement, beforeSetURLOnPreparedStatement, beforeUnwrapOnPreparedStatementafterGetArrayOnCallableStatement, afterGetBigDecimalOnCallableStatement, afterGetBlobOnCallableStatement, afterGetBooleanOnCallableStatement, afterGetByteOnCallableStatement, afterGetBytesOnCallableStatement, afterGetCharacterStreamOnCallableStatement, afterGetClobOnCallableStatement, afterGetDateOnCallableStatement, afterGetDoubleOnCallableStatement, afterGetFloatOnCallableStatement, afterGetIntOnCallableStatement, afterGetLongOnCallableStatement, afterGetNCharacterStreamOnCallableStatement, afterGetNClobOnCallableStatement, afterGetNStringOnCallableStatement, afterGetObjectOnCallableStatement, afterGetRefOnCallableStatement, afterGetRowIdOnCallableStatement, afterGetShortOnCallableStatement, afterGetSQLXMLOnCallableStatement, afterGetStringOnCallableStatement, afterGetTimeOnCallableStatement, afterGetTimestampOnCallableStatement, afterGetURLOnCallableStatement, afterIsWrapperForOnCallableStatement, afterRegisterOutParameterOnCallableStatement, afterSetAsciiStreamOnCallableStatement, afterSetBigDecimalOnCallableStatement, afterSetBinaryStreamOnCallableStatement, afterSetBlobOnCallableStatement, afterSetBooleanOnCallableStatement, afterSetByteOnCallableStatement, afterSetBytesOnCallableStatement, afterSetCharacterStreamOnCallableStatement, afterSetClobOnCallableStatement, afterSetDateOnCallableStatement, afterSetDoubleOnCallableStatement, afterSetFloatOnCallableStatement, afterSetIntOnCallableStatement, afterSetLongOnCallableStatement, afterSetNCharacterStreamOnCallableStatement, afterSetNClobOnCallableStatement, afterSetNStringOnCallableStatement, afterSetNullOnCallableStatement, afterSetObjectOnCallableStatement, afterSetRowIdOnCallableStatement, afterSetShortOnCallableStatement, afterSetSQLXMLOnCallableStatement, afterSetStringOnCallableStatement, afterSetTimeOnCallableStatement, afterSetTimestampOnCallableStatement, afterSetURLOnCallableStatement, afterUnwrapOnCallableStatement, afterWasNullOnCallableStatement, beforeGetArrayOnCallableStatement, beforeGetBigDecimalOnCallableStatement, beforeGetBlobOnCallableStatement, beforeGetBooleanOnCallableStatement, beforeGetByteOnCallableStatement, beforeGetBytesOnCallableStatement, beforeGetCharacterStreamOnCallableStatement, beforeGetClobOnCallableStatement, beforeGetDateOnCallableStatement, beforeGetDoubleOnCallableStatement, beforeGetFloatOnCallableStatement, beforeGetIntOnCallableStatement, beforeGetLongOnCallableStatement, beforeGetNCharacterStreamOnCallableStatement, beforeGetNClobOnCallableStatement, beforeGetNStringOnCallableStatement, beforeGetObjectOnCallableStatement, beforeGetRefOnCallableStatement, beforeGetRowIdOnCallableStatement, beforeGetShortOnCallableStatement, beforeGetSQLXMLOnCallableStatement, beforeGetStringOnCallableStatement, beforeGetTimeOnCallableStatement, beforeGetTimestampOnCallableStatement, beforeGetURLOnCallableStatement, beforeIsWrapperForOnCallableStatement, beforeRegisterOutParameterOnCallableStatement, beforeSetAsciiStreamOnCallableStatement, beforeSetBigDecimalOnCallableStatement, beforeSetBinaryStreamOnCallableStatement, beforeSetBlobOnCallableStatement, beforeSetBooleanOnCallableStatement, beforeSetByteOnCallableStatement, beforeSetBytesOnCallableStatement, beforeSetCharacterStreamOnCallableStatement, beforeSetClobOnCallableStatement, beforeSetDateOnCallableStatement, beforeSetDoubleOnCallableStatement, beforeSetFloatOnCallableStatement, beforeSetIntOnCallableStatement, beforeSetLongOnCallableStatement, beforeSetNCharacterStreamOnCallableStatement, beforeSetNClobOnCallableStatement, beforeSetNStringOnCallableStatement, beforeSetNullOnCallableStatement, beforeSetObjectOnCallableStatement, beforeSetRowIdOnCallableStatement, beforeSetShortOnCallableStatement, beforeSetSQLXMLOnCallableStatement, beforeSetStringOnCallableStatement, beforeSetTimeOnCallableStatement, beforeSetTimestampOnCallableStatement, beforeSetURLOnCallableStatement, beforeUnwrapOnCallableStatement, beforeWasNullOnCallableStatementafterAbsoluteOnResultSet, afterAfterLastOnResultSet, afterBeforeFirstOnResultSet, afterCancelRowUpdatesOnResultSet, afterClearWarningsOnResultSet, afterCloseOnResultSet, afterDeleteRowOnResultSet, afterFindColumnOnResultSet, afterFirstOnResultSet, afterGetArrayOnResultSet, afterGetAsciiStreamOnResultSet, afterGetBigDecimalOnResultSet, afterGetBinaryStreamOnResultSet, afterGetBlobOnResultSet, afterGetBooleanOnResultSet, afterGetByteOnResultSet, afterGetBytesOnResultSet, afterGetCharacterStreamOnResultSet, afterGetClobOnResultSet, afterGetConcurrencyOnResultSet, afterGetCursorNameOnResultSet, afterGetDateOnResultSet, afterGetDoubleOnResultSet, afterGetFetchDirectionOnResultSet, afterGetFetchSizeOnResultSet, afterGetFloatOnResultSet, afterGetHoldabilityOnResultSet, afterGetIntOnResultSet, afterGetLongOnResultSet, afterGetMetaDataOnResultSet, afterGetNCharacterStreamOnResultSet, afterGetNClobOnResultSet, afterGetNStringOnResultSet, afterGetObjectOnResultSet, afterGetRefOnResultSet, afterGetRowIdOnResultSet, afterGetRowOnResultSet, afterGetShortOnResultSet, afterGetSQLXMLOnResultSet, afterGetStatementOnResultSet, afterGetStringOnResultSet, afterGetTimeOnResultSet, afterGetTimestampOnResultSet, afterGetTypeOnResultSet, afterGetUnicodeStreamOnResultSet, afterGetURLOnResultSet, afterGetWarningsOnResultSet, afterInsertRowOnResultSet, afterIsAfterLastOnResultSet, afterIsBeforeFirstOnResultSet, afterIsClosedOnResultSet, afterIsFirstOnResultSet, afterIsLastOnResultSet, afterIsWrapperForOnResultSet, afterLastOnResultSet, afterMoveToCurrentRowOnResultSet, afterMoveToInsertRowOnResultSet, afterNextOnResultSet, afterPreviousOnResultSet, afterRefreshRowOnResultSet, afterRelativeOnResultSet, afterRowDeletedOnResultSet, afterRowInsertedOnResultSet, afterRowUpdatedOnResultSet, afterSetFetchDirectionOnResultSet, afterSetFetchSizeOnResultSet, afterUnwrapOnResultSet, afterUpdateArrayOnResultSet, afterUpdateAsciiStreamOnResultSet, afterUpdateBigDecimalOnResultSet, afterUpdateBinaryStreamOnResultSet, afterUpdateBlobOnResultSet, afterUpdateBooleanOnResultSet, afterUpdateByteOnResultSet, afterUpdateBytesOnResultSet, afterUpdateCharacterStreamOnResultSet, afterUpdateClobOnResultSet, afterUpdateDateOnResultSet, afterUpdateDoubleOnResultSet, afterUpdateFloatOnResultSet, afterUpdateIntOnResultSet, afterUpdateLongOnResultSet, afterUpdateNCharacterStreamOnResultSet, afterUpdateNClobOnResultSet, afterUpdateNStringOnResultSet, afterUpdateNullOnResultSet, afterUpdateObjectOnResultSet, afterUpdateRefOnResultSet, afterUpdateRowIdOnResultSet, afterUpdateRowOnResultSet, afterUpdateShortOnResultSet, afterUpdateSQLXMLOnResultSet, afterUpdateStringOnResultSet, afterUpdateTimeOnResultSet, afterUpdateTimestampOnResultSet, afterWasNullOnResultSet, beforeAbsoluteOnResultSet, beforeAfterLastOnResultSet, beforeBeforeFirstOnResultSet, beforeCancelRowUpdatesOnResultSet, beforeClearWarningsOnResultSet, beforeCloseOnResultSet, beforeDeleteRowOnResultSet, beforeFindColumnOnResultSet, beforeFirstOnResultSet, beforeGetArrayOnResultSet, beforeGetAsciiStreamOnResultSet, beforeGetBigDecimalOnResultSet, beforeGetBinaryStreamOnResultSet, beforeGetBlobOnResultSet, beforeGetBooleanOnResultSet, beforeGetByteOnResultSet, beforeGetBytesOnResultSet, beforeGetCharacterStreamOnResultSet, beforeGetClobOnResultSet, beforeGetConcurrencyOnResultSet, beforeGetCursorNameOnResultSet, beforeGetDateOnResultSet, beforeGetDoubleOnResultSet, beforeGetFetchDirectionOnResultSet, beforeGetFetchSizeOnResultSet, beforeGetFloatOnResultSet, beforeGetHoldabilityOnResultSet, beforeGetIntOnResultSet, beforeGetLongOnResultSet, beforeGetMetaDataOnResultSet, beforeGetNCharacterStreamOnResultSet, beforeGetNClobOnResultSet, beforeGetNStringOnResultSet, beforeGetObjectOnResultSet, beforeGetRefOnResultSet, beforeGetRowIdOnResultSet, beforeGetRowOnResultSet, beforeGetShortOnResultSet, beforeGetSQLXMLOnResultSet, beforeGetStatementOnResultSet, beforeGetStringOnResultSet, beforeGetTimeOnResultSet, beforeGetTimestampOnResultSet, beforeGetTypeOnResultSet, beforeGetUnicodeStreamOnResultSet, beforeGetURLOnResultSet, beforeGetWarningsOnResultSet, beforeInsertRowOnResultSet, beforeIsAfterLastOnResultSet, beforeIsBeforeFirstOnResultSet, beforeIsClosedOnResultSet, beforeIsFirstOnResultSet, beforeIsLastOnResultSet, beforeIsWrapperForOnResultSet, beforeLastOnResultSet, beforeMoveToCurrentRowOnResultSet, beforeMoveToInsertRowOnResultSet, beforeNextOnResultSet, beforePreviousOnResultSet, beforeRefreshRowOnResultSet, beforeRelativeOnResultSet, beforeRowDeletedOnResultSet, beforeRowInsertedOnResultSet, beforeRowUpdatedOnResultSet, beforeSetFetchDirectionOnResultSet, beforeSetFetchSizeOnResultSet, beforeUnwrapOnResultSet, beforeUpdateArrayOnResultSet, beforeUpdateAsciiStreamOnResultSet, beforeUpdateBigDecimalOnResultSet, beforeUpdateBinaryStreamOnResultSet, beforeUpdateBlobOnResultSet, beforeUpdateBooleanOnResultSet, beforeUpdateByteOnResultSet, beforeUpdateBytesOnResultSet, beforeUpdateCharacterStreamOnResultSet, beforeUpdateClobOnResultSet, beforeUpdateDateOnResultSet, beforeUpdateDoubleOnResultSet, beforeUpdateFloatOnResultSet, beforeUpdateIntOnResultSet, beforeUpdateLongOnResultSet, beforeUpdateNCharacterStreamOnResultSet, beforeUpdateNClobOnResultSet, beforeUpdateNStringOnResultSet, beforeUpdateNullOnResultSet, beforeUpdateObjectOnResultSet, beforeUpdateRefOnResultSet, beforeUpdateRowIdOnResultSet, beforeUpdateRowOnResultSet, beforeUpdateShortOnResultSet, beforeUpdateSQLXMLOnResultSet, beforeUpdateStringOnResultSet, beforeUpdateTimeOnResultSet, beforeUpdateTimestampOnResultSet, beforeWasNullOnResultSetvoid beforeMethod(MethodExecutionContext executionContext)
void afterMethod(MethodExecutionContext executionContext)
void beforeQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
void afterQuery(ExecutionInfo execInfo, List<QueryInfo> queryInfoList)
Copyright © 2019. All rights reserved.