Hibernate version: 2.1.6
I've just installed Hibernate (running it with Netbeans), but have a problem where it can find hibernate.properties, but not hibernate.cfg.xml, even though they are in the same place, in the root of my classpath (and in the root of the Netbeans filesystem containing the packages).
No error messages are displayed (or debug message, if switched on in log4j), but if I delete the .properties file, I get his message:
16:06:10,250 INFO Environment:498 - hibernate.properties not found
and no sign of the cfg file, or any attempt to find it.
I'm happy to continue using the .properties file, but it looks like the XML file is the "better" way.
TIA
Digby
|