public enum TransactionIsolation extends Enum<TransactionIsolation>
| Enum Constant and Description |
|---|
TRANSACTION_NONE |
TRANSACTION_READ_COMMITTED |
TRANSACTION_READ_UNCOMMITTED |
TRANSACTION_REPEATABLE_READ |
TRANSACTION_SERIALIZABLE |
| Modifier and Type | Method and Description |
|---|---|
static TransactionIsolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionIsolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionIsolation TRANSACTION_READ_UNCOMMITTED
public static final TransactionIsolation TRANSACTION_READ_COMMITTED
public static final TransactionIsolation TRANSACTION_REPEATABLE_READ
public static final TransactionIsolation TRANSACTION_SERIALIZABLE
public static final TransactionIsolation TRANSACTION_NONE
public static TransactionIsolation[] values()
for (TransactionIsolation c : TransactionIsolation.values()) System.out.println(c);
public static TransactionIsolation 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 © 2021. All rights reserved.