-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Hibernate 3.2 fails but works by downgrading only one jar.
PostPosted: Fri Dec 08, 2006 3:40 pm 
Newbie

Joined: Fri Dec 08, 2006 3:30 pm
Posts: 7
Hi,

I am absolutely new to hibernate and am trying to debug a problem I have just been assigned. We upgraded hibernate to version 3.2. However, now we cannot "get our data into database".

For some reason, when we make two changes, the problem goes away.
1. Remove the new hibernate3.jar and in its place put the previous version of hibernate3.jar

2. In hibernate.cfg.xml file we changed the property from bytecode to cglib (a property change was made in new version of hibernate for which we changed cglib to bytecode, now we basically did an 'undo').

With the above two steps, I am told the problem goes away.

Any suggestions, or clues of where the problem may be will be highly appreciated.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 08, 2006 8:33 pm 
Senior
Senior

Joined: Sat Nov 27, 2004 4:13 am
Posts: 137
so what was the problem? and when did it occur?

_________________
don't forget to credit!

Amir Pashazadeh
Payeshgaran MT
پايشگران مديريت طرح
http://www.payeshgaran.co
http://www.payeshgaran.org
http://www.payeshgaran.net


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 10, 2006 3:44 pm 
Newbie

Joined: Fri Dec 08, 2006 3:30 pm
Posts: 7
The problem occurs when we try to put data into the database. We cannot see it in the database. However, when we remove the 'new' hibernate3.jar from hibernate release 3.2 and in place of it put the old version of hibernate3.jar - it works. All the other jars for eg. the c3p0, dom4j etc. are all still the new version.

Thanks.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

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.