begin() - JDO Transaction's method

Method
javax.jdo.Transaction
void begin()

Begin a transaction. The type of transaction is determined by the setting of the Optimistic flag.
Throws:
JDOUserException - if transactions are managed by a container in the managed environment, or if the transaction is already active.
Since:
JDO 1.0
See Also:
setOptimistic
getOptimistic