hass0002 wrote:
Quote:
2. I resolved the issue by correcting a few package nuances.
I was wondering if you can give some more detail about what you did. I'm experiencing the same problem.
Thanks,
Sayed
I had some hastle with this. I wound up loading the configuration explicly in the code.
Code:
org.hibernate.cfg.Configuration cfg = new org.hibernate.cfg.Configuration();
cfg.configure("hibernate.cfg.xml");
factory = cfg.buildSessionFactory();
The string is a resource path, as used by ClassLoader.getResource() i.e. relative to the class path directories.
This shouldn't be necessary, as I understand it, but I still need it under Hibernate 3.
[/code]