boolean getRollbackOnly()
Determine whether the current resource transaction has been marked for rollback.
- Return:
- boolean indicating whether the transaction has been marked for rollback
- Throws:
- IllegalStateException - if
isActive()
is false
- Since:
- JPA 1.0