java.io.Serializable
, java.lang.Comparable<Constants.IsolationLevel>
public static enum Constants.IsolationLevel extends java.lang.Enum<Constants.IsolationLevel>
Enum Constant | Description |
---|---|
TRANSACTION_READ_COMMITTED |
|
TRANSACTION_READ_COMMITTED_FOR_UPDATE |
|
TRANSACTION_READ_UNCOMMITTED |
|
TRANSACTION_REPEATABLE_READ |
|
TRANSACTION_SERIALIZABLE |
|
UNSPECIFIED |
Modifier and Type | Method | Description |
---|---|---|
static Constants.IsolationLevel |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Constants.IsolationLevel[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.IsolationLevel UNSPECIFIED
public static final Constants.IsolationLevel TRANSACTION_SERIALIZABLE
public static final Constants.IsolationLevel TRANSACTION_READ_COMMITTED
public static final Constants.IsolationLevel TRANSACTION_READ_UNCOMMITTED
public static final Constants.IsolationLevel TRANSACTION_REPEATABLE_READ
public static final Constants.IsolationLevel TRANSACTION_READ_COMMITTED_FOR_UPDATE
public static Constants.IsolationLevel[] values()
for (Constants.IsolationLevel c : Constants.IsolationLevel.values()) System.out.println(c);
public static Constants.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