public enum TransactionIsolationLevel extends Enum<TransactionIsolationLevel>
Enum Constant and Description |
---|
READ_COMMITTED_SNAPSHOT
Modifications are only visible outside of the current transaction when it commits.
|
SERIALIZABLE
Modifications are only visible outside of the current transaction when it commits.
|
Modifier and Type | Method and Description |
---|---|
static TransactionIsolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionIsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionIsolationLevel READ_COMMITTED_SNAPSHOT
public static final TransactionIsolationLevel SERIALIZABLE
public static TransactionIsolationLevel[] values()
for (TransactionIsolationLevel c : TransactionIsolationLevel.values()) System.out.println(c);
public static TransactionIsolationLevel 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 © 2015–2019 Cloud Software Group, Inc.. All rights reserved.