public static enum Transaction.IsolationLevel extends Enum<Transaction.IsolationLevel>
| Enum Constant and Description |
|---|
NONE |
READ_COMMITTED |
READ_UNCOMMITTED |
REPEATABLE_READ |
SERIALIZABLE |
| Modifier and Type | Field and Description |
|---|---|
int |
isolationLevel |
| Modifier and Type | Method and Description |
|---|---|
static Transaction.IsolationLevel |
valueOf(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 NONE
public static final Transaction.IsolationLevel READ_UNCOMMITTED
public static final Transaction.IsolationLevel READ_COMMITTED
public static final Transaction.IsolationLevel REPEATABLE_READ
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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.