public enum TransactionIsolationLevel extends Enum<TransactionIsolationLevel>
| Enum Constant and Description |
|---|
ReadCommitted |
ReadUncommitted |
RepeatableRead |
Serializable |
Snapshot |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName() |
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 Serializable
public static final TransactionIsolationLevel Snapshot
public static final TransactionIsolationLevel RepeatableRead
public static final TransactionIsolationLevel ReadCommitted
public static final TransactionIsolationLevel ReadUncommitted
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 String getDisplayName()
Copyright © 2016–2020. All rights reserved.