hibernate configuration problem
807591May 12 2008 — edited May 12 2008Hi all,
I am completely new to hibernate and was trying out my first hibernate program.
SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
This is throwing null pointer exception... I have hibernate.cfg.xml file in the build path( inside /src folder). I even see the file in the build path after compilation. But when i try to run its throwing exception. So how do i handle this? am i doing something wrong? any suggestion/help is most welcome. Thanks