public static enum TransactionManager.OnQueryOnly extends Enum<TransactionManager.OnQueryOnly>
| Enum Constant and Description |
|---|
CLOSE_ON_READCOMMITTED
Just close the transaction.
|
COMMIT
Commit the transaction
|
ROLLBACK
Rollback the transaction.
|
| Modifier and Type | Method and Description |
|---|---|
static TransactionManager.OnQueryOnly |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionManager.OnQueryOnly[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionManager.OnQueryOnly ROLLBACK
public static final TransactionManager.OnQueryOnly CLOSE_ON_READCOMMITTED
public static final TransactionManager.OnQueryOnly COMMIT
public static TransactionManager.OnQueryOnly[] values()
for (TransactionManager.OnQueryOnly c : TransactionManager.OnQueryOnly.values()) System.out.println(c);
public static TransactionManager.OnQueryOnly 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 © 2014. All Rights Reserved.