public enum Isolation extends Enum<Isolation>
| Enum Constant and Description |
|---|
READ_COMMITTED
A constant indicating that dirty reads are prevented; non-repeatable reads and phantom reads can occur.
|
| Modifier and Type | Method and Description |
|---|---|
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 READ_COMMITTED
Connection.TRANSACTION_READ_COMMITTEDpublic 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 nullCopyright © 2009–2019 B3log. All rights reserved.