public interface TransactionObserver
Modifier and Type | Method and Description |
---|---|
void |
afterBegin(TransactionImplementor transaction)
Callback for processing the beginning of a transaction.
|
void |
afterCompletion(boolean successful,
TransactionImplementor transaction)
Callback for processing the last phase of transaction completion.
|
void |
beforeCompletion(TransactionImplementor transaction)
Callback for processing the initial phase of transaction completion.
|
void afterBegin(TransactionImplementor transaction)
Transaction
API.transaction
- The Hibernate transactionvoid beforeCompletion(TransactionImplementor transaction)
transaction
- The Hibernate transactionvoid afterCompletion(boolean successful, TransactionImplementor transaction)
successful
- Was the transaction successful?transaction
- The Hibernate transactionCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.