Execute the given function within a transaction.
Execute the given function within a transaction.
the return type of the function
the propagation behavior. Defaults to REQUIRED
the isolation level. Defaults to DEFAULT
whether to optimize as a read-only transaction. Defaults to false.
qualifier value for the specified transaction. Defaults to none.
timeout for this transaction. Defaults to the default timeout of the underlying transaction system.
the function to be executed transactionally
a result object returned by the function
TransactionException in case of initialization, rollback, or system errors
Trait that simplifies functional transaction demarcation and transaction exception handling.
The central entry point is the
transactionalfunction. This trait handles the transaction lifecycle and possible exceptions such that neither the function nor the calling code needs to explicitly handle transactions.1.0