public interface Transaction<ReturnType,ConnectionType>
| Modifier and Type | Method and Description |
|---|---|
ReturnType |
inTransaction(ConnectionType transactional,
TransactionStatus status)
Execute in a transaction.
|
ReturnType inTransaction(ConnectionType transactional, TransactionStatus status) throws Exception
If the transaction fails a TransactionFailedException
will be thrown from the Handle.inTransaction(TransactionCallback)
transactional - The object communicating with the database.status - a handle on the transaction, kind ofHandle.inTransaction(TransactionCallback)Exception - will cause the transaction be abortedCopyright © 2018. All rights reserved.