public static enum Transaction.IsolationLevel extends java.lang.Enum<Transaction.IsolationLevel>
Enum Constant and Description |
---|
READ_COMMITTED_SNAPSHOT
Access data that has been committed.
|
SERIALIZABLE
All access is serialized using shared read and exclusive
write locks.
|
Modifier and Type | Method and Description |
---|---|
static Transaction.IsolationLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.IsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.IsolationLevel READ_COMMITTED_SNAPSHOT
public static final Transaction.IsolationLevel SERIALIZABLE
public static Transaction.IsolationLevel[] values()
for (Transaction.IsolationLevel c : Transaction.IsolationLevel.values()) System.out.println(c);
public static Transaction.IsolationLevel 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 null