Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: NoClassDefFoundError Configuration
PostPosted: Wed Jun 13, 2012 8:14 am 
Newbie

Joined: Mon Dec 21, 2009 8:51 am
Posts: 6
In my code I get a NoClassDefFoundError error when I'm executing new Configuration().

I used to have hibernate3 and with this it works. Currently I'm trying to upgrade to hibernate 4 and now I get this error.

I need some way of establishing a session without the XML file, so I provide the user and password manually. Since this tool doesn't know the databases in advance, I can't configure it in the XML file.

So how can this be done with Hibernate 4 now?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.