EntityLifecycleInterceptor

Represents a StatementInterceptor specifically responsible for the statement lifecycle of Entity instances, which is loaded whenever a Transaction instance is initialized.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun afterCommit(transaction: Transaction)
Link copied to clipboard
open override fun afterExecution(transaction: Transaction, contexts: List<StatementContext>, executedStatement: PreparedStatementApi)
Link copied to clipboard
open fun afterRollback(transaction: Transaction)
Link copied to clipboard
open fun afterStatementPrepared(transaction: Transaction, preparedStatement: PreparedStatementApi)
Link copied to clipboard
open override fun beforeCommit(transaction: Transaction)
Link copied to clipboard
open override fun beforeExecution(transaction: Transaction, context: StatementContext)
Link copied to clipboard
open override fun beforeRollback(transaction: Transaction)
Link copied to clipboard
open override fun keepUserDataInTransactionStoreOnCommit(userData: Map<Key<*>, Any?>): Map<Key<*>, Any?>