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