0 Replies Latest reply on Jun 22, 2005 11:19 AM by Jacky Kimmel

    hibernate using JTA with jboss 4

    Jacky Kimmel Newbie


      Hibernate version:
      3.0 Jboss 4.0

      Mapping documents:
      FIne

      Code between sessionFactory.openSession() and session.close():
      Tried several ways but at last trying.
      factory = (configuration calls)buildSessionFactory();
      session = factory.getCurrentSession().
      I used a threadLocal variable and just a plain old static with the same results
      Full stack trace of any exception that occurs:
      Can't print full but succeful on binding JNDI then next is this WARN
      [org.apache.hibernate.SessionFactoryObjectFactory] InitialContext does not implement Event Context.

      Then continues on and creates my sql and says that is opens a prepared statement but the select does not retrieve anything back from db and should get one object returned.

      Name and version of the database you are using:
      Sybase ASE12.5

      The generated SQL (show_sql=true):

      Debug level Hibernate log excerpt:
      DEBUG