A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
problem getting configuration in hibernate 3.0
Joined: Jul 28, 2005
Aug 10, 2005 01:15:00
I am new hibernate.I tried to do some simple program.
But i got null pointer exception.
my code is :
Configuration cfg = new Configuration().addClass(Contact.class);
SessionFactory sessionFactory = cfg.buildSessionFactory();
I am not able to get that println.(I added that println to know where exactly the null pointer exception is throwing).
can any body tell me where iam going wrong
Thanks in advamce
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: problem getting configuration in hibernate 3.0
Help need in Configuration of Hibernate
null pointer exception using session factory
basic app Hibernate
No TransactionManagerLookup specified Exception
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015