Joined: Mon Jun 27, 2005 8:46 pm Posts: 3 Location: Brisbane, Australia
|
Hibernate EntityManager version: 3.1beta1
The isActive() method in org.hibernate.ejb.TransactionImpl throws a NullPointerException if the wrapped Transaction object isn't assigned (which happens in the begin() method). This can be manifested via a call to EntityManager.getTransaction().isActive(). I imagine that the desired behaviour if the transaction is null is to have isActive() return false; is this something I should submit a patch to Jira for?
Shane Bryzak
|
|