public static enum Isolation.Level extends Enum<Isolation.Level>
Enum Constant and Description |
---|
NONE |
READ_COMMITTED |
READ_UNCOMMITTED |
REPEATABLE_READ |
SERIALIZABLE |
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
static Isolation.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Isolation.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Isolation.Level NONE
public static final Isolation.Level READ_UNCOMMITTED
public static final Isolation.Level READ_COMMITTED
public static final Isolation.Level REPEATABLE_READ
public static final Isolation.Level SERIALIZABLE
public static Isolation.Level[] values()
for (Isolation.Level c : Isolation.Level.values()) System.out.println(c);
public static Isolation.Level 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 getLevel()
Copyright © 2019. All rights reserved.