This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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
Have you checked out
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