isActive() - JPA EntityTransaction's method

Method
javax.persistence.EntityTransaction
boolean isActive()

Indicate whether a resource transaction is in progress.
Returns:
boolean indicating whether transaction is in progress
Throws:
PersistenceException - if an unexpected error condition is encountered
Since:
JPA 1.0