Regarding Hibernate query,
June 13, 2007 at 12:48 PM
while I'm trying to get the session in the Hibernateprogram by using the below statement I'm executing this program in NetBeans5.0 and using the databaseserver is MySql4.1
SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory();
it is giving that Exception in thread "main" java.lang.NullPointerException
I'm not able to connect to hibernate.cfg.xml this file and also tell me where can i place these(hibernate.cfg.xml and hibernate.hbm.xml) files in NetBeans5.0