[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Unable to locate current JTA transaction

annagris do-not-reply at jboss.com
Mon May 21 12:50:37 EDT 2007


I'm using jboss 4.0.5 with hibernate3. 

getCurrentSeesion() fails with the exception:

org.hibernate.HibernateException: Unable to locate current JTA transaction 
        at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) 
        at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:544)

Can someone please point me to what is causing the problem. 

Thank you,

Anna.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047316#4047316

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047316



More information about the jboss-user mailing list