0 Replies Latest reply on May 21, 2007 12:50 PM by annagris

    Unable to locate current JTA transaction

    annagris

      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.