I just started to learn hibernate .I make hibernate.cfg.xml but when i execute my application it not find xml file but when i make hibernate.properties and put in the same directory it easily find it .Where i am going wrong.
Thanks
Thanks
Originally posted by Jaikiran Pai:
Have you placed the hibernate.cfg.xml at the root of the classpath? For more details have a look at Section 3.7 at Hibernate Reference