JBoss Community

Re: Null Pointer Exception - Hibernate with Jboss 7.1.0 Final

created by Steve Ebersole in JBoss AS 7 Development - View the full discussion

Are you using CMT transactions in your application? 

 

Basically, HIbernate has 2 org.hibernate.Transaction implementations for dealing with JTA-based transactions:

  1. JTATransactionFactory - meant for cases where the application is managing transactions.  Uses TransactionManager to integrate with JTA.
  2. CMTTransactionFactory - mean for CMT cases where the container is managing transaction.  Uses UserTransaction to integrate with JTA.

 

Your set up is indicating that your application is managing transactions, but it has not started the Transaction.  Just curious what your application is doing in terms of transaction management.

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community