Uses of Enum Class
com.pyranid.TransactionIsolation
-
Uses of TransactionIsolation in com.pyranid
Modifier and TypeMethodDescriptionTransaction.getTransactionIsolation()
Get the isolation level for this transaction.static TransactionIsolation
Returns the enum constant of this class with the specified name.static TransactionIsolation[]
TransactionIsolation.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescription<T> Optional
<T> Database.transaction
(TransactionIsolation transactionIsolation, ReturningTransactionalOperation<T> transactionalOperation) Performs an operation transactionally with the given isolation level, optionally returning a value.void
Database.transaction
(TransactionIsolation transactionIsolation, TransactionalOperation transactionalOperation) Performs an operation transactionally with the given isolation level.