Fast Object Database for Java - with JPA/JDO support

setRollbackOnly() - JDO Transaction's method

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