public static enum SQLTransaction.IsolationLevel extends Enum<SQLTransaction.IsolationLevel>
| Enum Constant and Description |
|---|
READ_COMMITTED
A constant indicating that dirty reads, non-repeatable reads and phantom reads can occur.
|
READ_UNCOMMITTED
A constant indicating that dirty reads, non-repeatable reads and phantom reads can occur.
|
REPEATABLE_READ
A constant indicating that dirty reads and non-repeatable reads are prevented; phantom reads can occur.
|
SERIALIZABLE
A constant indicating that dirty reads, non-repeatable reads and phantom reads are prevented.
|
| Modifier and Type | Method and Description |
|---|---|
static SQLTransaction.IsolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLTransaction.IsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLTransaction.IsolationLevel READ_UNCOMMITTED
public static final SQLTransaction.IsolationLevel READ_COMMITTED
public static final SQLTransaction.IsolationLevel REPEATABLE_READ
public static final SQLTransaction.IsolationLevel SERIALIZABLE
public static SQLTransaction.IsolationLevel[] values()
for (SQLTransaction.IsolationLevel c : SQLTransaction.IsolationLevel.values()) System.out.println(c);
public static SQLTransaction.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 © 2018. All rights reserved.