public enum TransactionIsolation extends java.lang.Enum<TransactionIsolation>
Enum Constant and Description |
---|
TRANSACTION_NONE
TRANSACTION_NONE;
|
TRANSACTION_READ_COMMITTED
TRANSACTION_READ_COMMITTED,
|
TRANSACTION_READ_UNCOMMITTED
TRANSACTION_READ_UNCOMMITTED,
|
TRANSACTION_REPEATABLE_READ
TRANSACTION_REPEATABLE_READ,
|
TRANSACTION_SERIALIZABLE
TRANSACTION_SERIALIZABLE,
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static TransactionIsolation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionIsolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionIsolation TRANSACTION_READ_UNCOMMITTED
public static final TransactionIsolation TRANSACTION_READ_COMMITTED
public static final TransactionIsolation TRANSACTION_REPEATABLE_READ
public static final TransactionIsolation TRANSACTION_SERIALIZABLE
public static final TransactionIsolation TRANSACTION_NONE
public static TransactionIsolation[] values()
for (TransactionIsolation c : TransactionIsolation.values()) System.out.println(c);
public static TransactionIsolation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<TransactionIsolation>
Copyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)