ObjectDB ObjectDB

setRollbackOnly() - JDO Transaction's method

Method
javax.jdo.Transaction
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