Determine whether the current resource transaction has been marked for rollback.
- Returns:
- boolean indicating whether the transaction has been marked for rollback.
- Throws:
- ifIllegalStateExceptionEntityTransaction.isActiveis false.
- Since:
- Jakarta Persistence (JPA) 1.0