getRollbackOnly() - JPA EntityTransaction's method
Method javax.persistence.EntityTransaction
boolean getRollbackOnly()
- Returns:
- boolean indicating whether the transaction has been marked for rollback
- Throws:
-
IllegalStateException
- ifisActive()
is false
- Since:
- JPA 1.0