public interface TransactionDelegate
Modifier and Type | Method and Description |
---|---|
void |
didCommit(Transaction transaction)
Called after a Transaction commit.
|
void |
didRollback(Transaction transaction)
Called after a Transaction is rolledback.
|
boolean |
willAddConnection(Transaction transaction,
Connection connection)
Called within a context of a Transaction when a new JDBC onnection is added to the
the transaction.
|
boolean |
willCommit(Transaction transaction)
Called within a context of a Transaction before the transaction is committed.
|
boolean |
willMarkAsRollbackOnly(Transaction transaction)
Called within a context of a Transaction before transaction is marked as "rollback
only", meaning that further commit is not possible.
|
boolean |
willRollback(Transaction transaction)
Called within a context of a Transaction before the transaction is rolledback.
|
boolean willCommit(Transaction transaction)
false
.boolean willMarkAsRollbackOnly(Transaction transaction)
false
.boolean willRollback(Transaction transaction)
false
.void didCommit(Transaction transaction)
void didRollback(Transaction transaction)
boolean willAddConnection(Transaction transaction, Connection connection)
false
.Copyright © 2001–2018 Apache Cayenne. All rights reserved.