ObjectDB ObjectDB

setTransactionType(name) - JDO PersistenceManagerFactory's method

Method
javax.jdo.PersistenceManagerFactory
void setTransactionType(
  String name
)

Sets the TransactionType for this PersistenceManagerFactory. Permitted values are "JTA" and "RESOURCE_LOCAL". This has the same semantics as the same-named property in JSR-220 EntityManagerFactory.
Parameters:
name - the TransactionType
Throws:
JDOUserException - if the parameter is not a permitted value
Since:
JDO 2.1
See Also:
getTransactionType()
Constants.JTA
Constants.RESOURCE_LOCAL