public enum TransactionStatus extends Enum<TransactionStatus>
| Enum Constant and Description | 
|---|
ACTIVE
A transaction is currently in progress 
 | 
COMMITTED
The transaction has committed 
 | 
COMMITTING
The transaction is in the process of being committed 
 | 
MARKED_ROLLBACK
A transaction is currently in progress and has been marked for rollback 
 | 
NO_TRANSACTION
No transaction is currently active 
 | 
PREPARED
A two phase commit is occurring and the transaction has been prepared 
 | 
PREPARING
A two phase commit is occurring and the transaction is being prepared 
 | 
ROLLED_BACK
The transaction has been rolled back 
 | 
ROLLING_BACK
The transaction is in the process of rolling back 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TransactionStatus | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static TransactionStatus[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TransactionStatus NO_TRANSACTION
public static final TransactionStatus ACTIVE
public static final TransactionStatus MARKED_ROLLBACK
public static final TransactionStatus PREPARING
public static final TransactionStatus PREPARED
public static final TransactionStatus COMMITTING
public static final TransactionStatus COMMITTED
public static final TransactionStatus ROLLING_BACK
public static final TransactionStatus ROLLED_BACK
public static TransactionStatus[] values()
for (TransactionStatus c : TransactionStatus.values()) System.out.println(c);
public static TransactionStatus 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 © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0