void setRollbackOnly()
Sets the rollback-only status of the transaction to
true
. After this flag is set to true
, the transaction can no longer be committed, and any attempt to commit the transaction will throw JDOFatalDataStoreException.
- Since:
- JDO 2.0