public enum IsolationLevel extends java.lang.Enum<IsolationLevel>
Enum Constant and Description |
---|
READ_COMMITTED_ISOLATION_LEVEL |
READ_UNCOMMITTED_ISOLATION_LEVEL |
REPEATABLE_READ_ISOLATION_LEVEL |
SERIALIZABLE_ISOLATION_LEVEL |
UNSPECIFIED_ISOLATION_LEVEL |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSyntax() |
static IsolationLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IsolationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsolationLevel UNSPECIFIED_ISOLATION_LEVEL
public static final IsolationLevel READ_UNCOMMITTED_ISOLATION_LEVEL
public static final IsolationLevel READ_COMMITTED_ISOLATION_LEVEL
public static final IsolationLevel REPEATABLE_READ_ISOLATION_LEVEL
public static final IsolationLevel SERIALIZABLE_ISOLATION_LEVEL
public static IsolationLevel[] values()
for (IsolationLevel c : IsolationLevel.values()) System.out.println(c);
public static IsolationLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getSyntax()
Copyright © 2013. All Rights Reserved.