ObjectDB ObjectDB

getRollbackOnly() - JDO Transaction's method

Method
javax.jdo.Transaction
boolean getRollbackOnly()

Returns the rollback-only status of the transaction. When begun, the rollback-only status is false. Either the application or the JDO implementation may set this flag using setRollbackOnly.
Returns:
true if the transaction has been marked for rollback.
Since:
JDO 2.0