public enum TransactionIsolationLevel extends Enum<TransactionIsolationLevel>
Enum Constant and Description |
---|
ReadCommited |
ReadUncommitted |
RepeatedRead |
Serializable |
Modifier and Type | Method and Description |
---|---|
play.api.db.TransactionIsolationLevel |
asScala() |
static TransactionIsolationLevel |
fromId(int id) |
int |
getId() |
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 ReadUncommitted
public static final TransactionIsolationLevel ReadCommited
public static final TransactionIsolationLevel RepeatedRead
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 nullpublic int getId()
public play.api.db.TransactionIsolationLevel asScala()
public static TransactionIsolationLevel fromId(int id)