Hi again George,

strange, the code in the page works for me and also for some people who have
tested the page. just out of curiosity: which version of Hibernate are you using ?


Regards,
Johannes

george georgovassilis wrote:

Guten Morgen Johannes

Thank you very much for your help. Your mentioning the Configuration class led me on the right track. One has to cfg.configure().buildSessionFactory() instead of
cfg.buildSessionFactory() which was practiced in the tutorial. When I changed the code accordingly it also started reading the hibernate.cfg.xml and mapped my classes correctly :-)


Best regards
G.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to