Determine whether the entity manager is joined to the current transaction. Returns false if the entity manager is not joined to the current transaction or if no transaction is active.
- Returns:
- boolean.
- Since:
- Jakarta Persistence (JPA) 2.1