public static enum Layer.TransactionIsolationLevel extends Enum<Layer.TransactionIsolationLevel>
Connection.setTransactionIsolation(int)
.Enum Constant and Description |
---|
READ_COMMITTED
Isolation level, see
Connection.TRANSACTION_READ_COMMITTED . |
REPEATABLE_READ
Isolation level, see
Connection.TRANSACTION_REPEATABLE_READ . |
SERIALIZABLE
Isolation level, see
Connection.TRANSACTION_SERIALIZABLE . |
Modifier and Type | Method and Description |
---|---|
int |
getConnectionConstant()
Isolation level which could be passed to
Connection.setTransactionIsolation(int) . |
static Layer.TransactionIsolationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Layer.TransactionIsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Layer.TransactionIsolationLevel READ_COMMITTED
Connection.TRANSACTION_READ_COMMITTED
.public static final Layer.TransactionIsolationLevel REPEATABLE_READ
Connection.TRANSACTION_REPEATABLE_READ
.public static final Layer.TransactionIsolationLevel SERIALIZABLE
Connection.TRANSACTION_SERIALIZABLE
.public static Layer.TransactionIsolationLevel[] values()
for (Layer.TransactionIsolationLevel c : Layer.TransactionIsolationLevel.values()) System.out.println(c);
public static Layer.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 nullpublic int getConnectionConstant()
Connection.setTransactionIsolation(int)
.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408