-->
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: Batch Update
PostPosted: Sat May 29, 2010 1:37 am 
Newbie

Joined: Sat May 29, 2010 1:07 am
Posts: 1
Hi All,

Is that any way that we can update a set of records at a time based on unique id.Something like as we do in SQL. update table where id <100;


Top
 Profile  
 
 Post subject: Re: Batch Update
PostPosted: Mon May 31, 2010 4:50 am 
Expert
Expert

Joined: Tue Jun 16, 2009 3:36 am
Posts: 990
For this purpose you can use Bulk statements. (see book "java persistence with Hibernate", chapter 12.2)


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.