Uses of Interface
com.pyranid.ReturningTransactionalOperation
-
Uses of ReturningTransactionalOperation in com.pyranid
Modifier and TypeMethodDescription<T> Optional
<T> Database.participate
(Transaction transaction, ReturningTransactionalOperation<T> transactionalOperation) Performs an operation in the context of a pre-existing transaction, optionall returning a value.<T> Optional
<T> Database.transaction
(ReturningTransactionalOperation<T> transactionalOperation) Performs an operation transactionally and optionally returns a value.<T> Optional
<T> Database.transaction
(TransactionIsolation transactionIsolation, ReturningTransactionalOperation<T> transactionalOperation) Performs an operation transactionally with the given isolation level, optionally returning a value.