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.
- See Also:
setOptimistic
getOptimistic
- Since:
- JDO 1.0