public static class TransactionManager.TransactionOptions
extends java.lang.Object
ReadOnlyModelException
default value is false; FirePostCommit fires events when
transaction is done. Default value is true.Modifier and Type | Field and Description |
---|---|
static TransactionManager.TransactionOptions |
DEFAULT
Read write, with post commit events.
|
(package private) boolean |
firePostCommit |
static TransactionManager.TransactionOptions |
NO_POSTCOMMIT
Read write without post commit.
|
(package private) boolean |
readonly |
static TransactionManager.TransactionOptions |
READONLY
Readonly transaction with post commit.
|
Constructor and Description |
---|
TransactionOptions(boolean readonly,
boolean firePostCommit) |
final boolean readonly
final boolean firePostCommit
public static TransactionManager.TransactionOptions DEFAULT
public static TransactionManager.TransactionOptions READONLY
public static TransactionManager.TransactionOptions NO_POSTCOMMIT