JDO Method
in javax.jdo.PersistenceManagerFactory

void setTransactionIsolationLevel(
  String level
)


Set the value for transaction isolation level for this PMF. Transaction isolation levels are defined in javax.jdo.Constants. If the requested level is not available, but a higher level is available, the higher level is silently used. If the requested level is not available, and no higher level is available, then JDOUnsupportedOptionException is thrown. Standard values in order from low to high are:
  • read-uncommitted
  • read-committed
  • repeatable-read
  • snapshot
  • serializable
Parameters:
level - the transaction isolation level
See Also:
getTransactionIsolationLevel()
Constants.TX_READ_UNCOMMITTED
Constants.TX_READ_COMMITTED
Constants.TX_REPEATABLE_READ
Constants.TX_SNAPSHOT
Constants.TX_SERIALIZABLE
Since:
JDO 2.2