I am trying to connect to mysql through Hibernate
I have created a normal java project in eclipse.
I created hibernate.cfg.xml , test.hbm.xml
I have created a POJO and a test client which has the following line
Configuration c = new Configuration();
It gives me null pointer exception. I have hibernate-all.jar, hibernate.cfg.xml in classpath and I am able to compile all classes.
Can you post a stack trace?