0 Replies Latest reply on Oct 5, 2004 7:50 AM by gildor

    Hibernate configuration in JBoss 4.0.0.

    gildor Newbie

      Hi all!

      I started this topic in Hibernate forums and was told to post it here also. Here is the link: http://forum.hibernate.org/viewtopic.php?t=935060

      Here is a copy of the message:

      Hibernate version:2.1.6

      JBoss version:4.0.0


      Has the configuration as described in HIA "Configuration in managed environments" been removed from JBoss 4.0.0 ??
      I set properties in hibernate.cfg.xml and create a sessionFactory by calling

      sessionFactory = new Configuration().configure().buildSessionFactory();

      The same *.ear works in JBoss 3.2.5 but not in version 4.0.0.
      It doesn't even find hibernate.cfg.xml on startup.
      Any ideas? Thanks in advance.