org.jboss.dna.common.jdbc.model.api
Enum TransactionIsolationLevelType
java.lang.Object
java.lang.Enum<TransactionIsolationLevelType>
org.jboss.dna.common.jdbc.model.api.TransactionIsolationLevelType
- All Implemented Interfaces:
- Serializable, Comparable<TransactionIsolationLevelType>
public enum TransactionIsolationLevelType
- extends Enum<TransactionIsolationLevelType>
Provides RDBMS supported transaction isolation levels as enumeration set.
- Author:
- Sergiy Litsenko
NONE
public static final TransactionIsolationLevelType NONE
READ_UNCOMMITTED
public static final TransactionIsolationLevelType READ_UNCOMMITTED
READ_COMMITTED
public static final TransactionIsolationLevelType READ_COMMITTED
REPEATABLE_READ
public static final TransactionIsolationLevelType REPEATABLE_READ
SERIALIZABLE
public static final TransactionIsolationLevelType SERIALIZABLE
values
public static final TransactionIsolationLevelType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(TransactionIsolationLevelType c : TransactionIsolationLevelType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static TransactionIsolationLevelType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
getLevel
public int getLevel()
getName
public String getName()
Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.