Uses of Class
com.pyranid.Transaction
-
Uses of Transaction in com.pyranid
Modifier and TypeMethodDescriptionDatabase.currentTransaction()
Gets a reference to the current transaction, if any.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.void
Database.participate
(Transaction transaction, TransactionalOperation transactionalOperation) Performs an operation in the context of a pre-existing transaction.