public enum TransactionIsolationLevel extends Enum<TransactionIsolationLevel>
Enum Constant and Description |
---|
INVALID_LEVEL |
NONE |
READ_COMMITTED |
READ_UNCOMMITTED |
REPEATABLE_READ |
SERIALIZABLE |
Modifier and Type | Method and Description |
---|---|
int |
intValue() |
static TransactionIsolationLevel |
valueOf(int val) |
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 INVALID_LEVEL
public static final TransactionIsolationLevel NONE
public static final TransactionIsolationLevel READ_COMMITTED
public static final TransactionIsolationLevel READ_UNCOMMITTED
public static final TransactionIsolationLevel REPEATABLE_READ
public static final TransactionIsolationLevel SERIALIZABLE
public int intValue()
public static TransactionIsolationLevel valueOf(int val)
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 nullpublic static TransactionIsolationLevel[] values()
for (TransactionIsolationLevel c : TransactionIsolationLevel.values()) System.out.println(c);
Copyright © 2018. All rights reserved.