public interface TransactionContext
TransactionProvider.| Modifier and Type | Method and Description |
|---|---|
Exception |
cause()
The exception that has caused the rollback.
|
TransactionContext |
cause(Exception cause)
Set the exception that has caused the rollback to the current transaction
context.
|
Configuration |
configuration()
The configuration scoped to this transaction and its nested transactions.
|
Transaction |
transaction()
A user-defined transaction object, possibly obtained from
TransactionProvider.begin(TransactionContext). |
TransactionContext |
transaction(Transaction transaction)
Set the user-defined transaction object to the current transaction
context.
|
Configuration configuration()
Transaction transaction()
TransactionProvider.begin(TransactionContext).null.TransactionContext transaction(Transaction transaction)
Exception cause()
null.TransactionContext cause(Exception cause)
Copyright © 2015. All Rights Reserved.