public enum TransactionIsolation extends Enum<TransactionIsolation>
Enum Constant and Description |
---|
READ_COMMITTED |
READ_UNCOMMITTED |
REPEATABLE_READ |
SERIALIZABLE |
Modifier and Type | Method and Description |
---|---|
static TransactionIsolation |
getByName(String name) |
int |
getCode() |
String |
getName() |
String |
toString() |
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 READ_UNCOMMITTED
public static final TransactionIsolation READ_COMMITTED
public static final TransactionIsolation REPEATABLE_READ
public static final TransactionIsolation SERIALIZABLE
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 nullpublic int getCode()
public String getName()
public String toString()
toString
in class Enum<TransactionIsolation>
public static TransactionIsolation getByName(String name)
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.