-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate bulk update - TreeSet
PostPosted: Fri May 14, 2010 10:53 am 
Newbie

Joined: Wed Dec 02, 2009 7:20 am
Posts: 5
Hi y'all,
I'm following the doc http://docs.jboss.org/hibernate/core/3. ... batch.html to bulk update the objects but I'm in a different situation, my objects to be updated are already in the hibernate session, I don't need to query it again, how could i use this bulk update?
Let me clarify it.
This is the situation: there is a @OneToMany relationship between Box and Product cascade={}. What I'm trying to do is to query this Box by its number, get the Set of products, make changes in theses products and then bulk update'em.
clear enough? =)
thanks in advance


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