public enum PersistenceUnitTransactionType extends java.lang.Enum<PersistenceUnitTransactionType>
EntityManagerFactory will be JTA or
 resource-local entity managers.| Enum Constant and Description | 
|---|
| JTAJTA entity managers will be created. | 
| RESOURCE_LOCALResource-local entity managers will be created. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PersistenceUnitTransactionType | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PersistenceUnitTransactionType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PersistenceUnitTransactionType JTA
public static final PersistenceUnitTransactionType RESOURCE_LOCAL
public static PersistenceUnitTransactionType[] values()
for (PersistenceUnitTransactionType c : PersistenceUnitTransactionType.values()) System.out.println(c);
public static PersistenceUnitTransactionType 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