public enum TransactionMode extends java.lang.Enum<TransactionMode>
| Enum Constant and Description | 
|---|
SEPARATE_TRANSACTIONS
Each setup/cleanup method is wrapped in its own transaction, separate from that of the test. 
 | 
SINGLE_TRANSACTION
All setup methods are wrapped in the same transaction as the test. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static TransactionMode | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static TransactionMode[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final TransactionMode SEPARATE_TRANSACTIONS
public static final TransactionMode SINGLE_TRANSACTION
public static TransactionMode[] values()
for (TransactionMode c : TransactionMode.values()) System.out.println(c);
public static TransactionMode 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 null