Helper method to create a TxScope with MANDATORY.
Helper method to create a TxScope with NEVER.
Helper method to create a TxScope with NOT_SUPPORTED.
Helper method to create a TxScope with REQUIRES.
Helper method to create a TxScope with REQUIRES_NEW.
Set the autoPersistUpdates mode.
TxScope.setBatch(io.ebean.annotation.PersistBatch batch)
Set the batch mode to use.
Set the batch on cascade mode.
Set the batch size to use.
Set flushOnQuery to be false to stop automatically flushing the JDBC batch buffer when a query is executed.
TxScope.setIsolation(io.ebean.annotation.TxIsolation isolation)
Set the transaction isolation level this transaction should run with.
Set a label for the transaction.
Set multiple throwable's that will NOT cause a rollback.
Add a Throwable to a list that will NOT cause a rollback.
Set the transaction profile id.
Set the profile location.
Set if the transaction should be treated as read only.
Set multiple throwable's that will cause a rollback.
Set a Throwable that should explicitly cause a rollback.
Set the serverName (DataSource name) for which this transaction will be.
Set to true if the transaction should skip L2 cache access.
Set if the transaction should skip reading generated keys for inserts.
TxScope.setType(io.ebean.annotation.TxType type)
Set the transaction type.
Helper method to create a TxScope with SUPPORTS.
Start a transaction typically specifying REQUIRES_NEW or REQUIRED semantics.
Start a transaction typically specifying REQUIRES_NEW or REQUIRED semantics.
void
Execute a Runnable in a Transaction with an explicit scope.
static void
Execute a TxRunnable in a Transaction with an explicit scope.
<T> T
Execute a TxCallable in a Transaction with an explicit scope.
static <T> T
Execute a Callable in a Transaction with an explicit scope.