Back to Exposed

EntityLifecycleInterceptor

docs/api/exposed-dao/org.jetbrains.exposed.v1.dao/-entity-lifecycle-interceptor/index.html

1.2.03.8 KB
Original Source

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.

Members

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?>

Generated by Dokka © 2026 Copyright