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