StatementInterceptor
Represents the processes that should be performed during a statement's lifecycle events in a transaction.
In general, statement execution flow works in the following way:
beforeExecution of the statement
Creation of the prepared statement
afterStatementPrepared using the prepared statement from step 2
Execution of the SQL query
Inheritors
Functions
Performs steps after a transaction is committed.
Performs steps after an executedStatement, from the provided contexts, is complete in transaction.
Performs steps after a rollback operation is issued on a transaction.
Performs steps after preparedStatement has been created in a transaction, but before the statement has been executed.
Performs steps before a transaction is committed.
Performs steps before a statement, from the provided context, is executed in a transaction.
Performs steps before a rollback operation is issued on a transaction.
Returns a mapping of userData that ensures required information is not lost from the transaction scope once the transaction is committed. This function will be called directly ahead of the call to beforeCommit().