- begin
Begin a transaction. The type of transaction is determined by the setting of the
Optimistic flag.
- commit
Commit the current transaction.
- isActive
Returns whether there is a transaction currently active.
- rollback
Roll back the current transaction.
- getNontransactionalRead
If true, allows persistent instances to be read without a transaction active.
- getOptimistic
Optimistic transactions do not hold data store locks until commit time.
- getPersistenceManager
The Transaction instance is always associated with exactly one
PersistenceManager.
- getRestoreValues
Return the current value of the restoreValues property.
- getRetainValues
If true, at commit time instances retain their field values.
- setNontransactionalRead
If true, allow persistent instances to be read without a transaction active. If
an implementation do
- setRollbackOnly
Sets the rollback-only status of the transaction to true. After this flag is set
to true, the transa
- getNontransactionalWrite
If true, allows persistent instances to be written without a transaction active.