public enum TransactionIsolationLevel extends Enum<TransactionIsolationLevel>
Enum Constant and Description |
---|
NONE |
READ_COMMITTED |
READ_UNCOMMITTED |
REPEATABLE_READ |
SERIALIZABLE |
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
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 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 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 getLevel()
Copyright © 2010–2015 MyBatis.org. All rights reserved.