- 
        1. Re: hibernate.propertiesbill.burke May 13, 2005 9:21 AM (in response to herkules)You have to place hibernate.properties of the META-INF/ dir of your JAR. Same if you used hibernate.cfg.xml. 
 xxx.hbm.xml files can be anywhere in the jar though.
- 
        2. Re: hibernate.propertiesherkules May 13, 2005 9:54 AM (in response to herkules)Thanks for answer, I tried with the file in META-INF older, but it doesn't work too. 
 The EJB 3.0 reference says: "Place hibernate.properties in a root directory of the classpath". Is there an error in the documentation?
 Jan
- 
        3. Re: hibernate.propertiesbill.burke May 13, 2005 10:01 AM (in response to herkules)can you point out the error in the doco here? 
 it is surprising that putting the hibernate.properties in the META-INF of the jar file doesn't work....
- 
        4. Re: hibernate.propertiesherkules May 13, 2005 10:07 AM (in response to herkules)Yes: docs\Hibernate3\reference\en\html\session-configuration.html, chapter 3.1 "Place hibernate.properties in a root directory of the classpath. " 
 Jan
- 
        5. Re: hibernate.propertiesherkules May 15, 2005 4:30 AM (in response to herkules)Indeed ti works fine when placed in META-INF folder. Just the documentation is not correct. 
 Thanks, Jan
- 
        6. Re: hibernate.propertiesany_key May 18, 2005 4:39 AM (in response to herkules)"Herkules" wrote: 
 Yes: docs\Hibernate3\reference\en\html\session-configuration.html, chapter 3.1 "Place hibernate.properties in a root directory of the classpath. "
 Jan
 It's Hibernate3 docs. Not EJB3.
 For Hibernate You must place hibernate.properties in a root directory of the classpath.
 For ejb3 place it in the META-INF directory of the jar file.
- 
        7. Re: hibernate.propertiesherkules May 18, 2005 4:56 AM (in response to herkules)Now it's clear to me, the EJB newbie. 
 Thanks.
 
     
    