The JDO
Transaction
interface provides for initiation and completion of transactions under user control. It is a sub-interface of the {@link PersistenceManager}that deals with options and transaction demarcation.
Transaction options include whether optimistic concurrency control should be used for the current transaction, whether instances may hold values in the cache outside transactions, and whether values should be retained in the cache after transaction completion. These options are valid for both managed and non-managed transactions.
Transaction initiation and completion methods have similar semantics to javax.transaction.UserTransaction
when used outside a managed environment. When used in a managed environment, transaction initiation and completion methods may only be used with bean-managed transaction semantics.
@version 2.3