JPA Method
in javax.persistence.EntityTransaction

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