# EntityLifecycleInterceptor

class EntityLifecycleInterceptor : GlobalStatementInterceptor

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

## Constructors

EntityLifecycleInterceptor
Link copied to clipboard
constructor()

## Functions

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