public static enum Transaction.Isolation extends java.lang.Enum<Transaction.Isolation>
Modifier and Type | Method and Description |
---|---|
static Transaction.Isolation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Transaction.Isolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Transaction.Isolation LEVEL2
public static final Transaction.Isolation LEVEL3
public static Transaction.Isolation[] values()
for (Transaction.Isolation c : Transaction.Isolation.values()) System.out.println(c);
public static Transaction.Isolation 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