-->
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.  [ 2 posts ] 
Author Message
 Post subject: Need help to upgrade 2.1.7 to 3.0.5
PostPosted: Wed Jun 22, 2005 11:12 am 
Beginner
Beginner

Joined: Tue Apr 26, 2005 8:39 am
Posts: 34
Hi Guys,
Need help to upgrade 2.1.7 to 3.0.5

Is it simply replace the jar files or we need to do more stuff ?

The basic reason I am upgrading is that When I issue session.update(parent) gives
" net.sf.hibernate.StaleObjectStateException An operation failed due to stale data"

When I was looking into document it says 3.0 resolved unsaved-values.

session.load(parent)
add child1()
add child2()

when I do like this, looks like we need to track and issue
session.saveOrUpdateCopy(child1)
session.saveOrUpdateCopy(child2)..etc it is really a pain

Is there any way by simle sessio.<command> update the parent and insert and update the child

Thanks
Rbarun


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 24, 2005 9:07 am 
Expert
Expert

Joined: Thu May 26, 2005 9:19 am
Posts: 262
Location: Oak Creek, WI
Hi

Look in to the below link
http://www.hibernate.org/250.html

_________________
RamnathN
Senior Software Engineer
http://www.linkedin.com/in/ramnathn
Don't forget to rate.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.