-->
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.  [ 4 posts ] 
Author Message
 Post subject: Performance executing many updates
PostPosted: Thu Apr 19, 2007 8:27 am 
Beginner
Beginner

Joined: Wed Jun 14, 2006 9:44 am
Posts: 22
Hibernate version:2.1.7

Hi all,

What is the better way to execute many updates, inserts or deletes?

I need to iterate about 10000 rows, and for each one, I need to do
a update, but occurs already marked for rollback.

thanks!!!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 19, 2007 8:31 am 
Expert
Expert

Joined: Tue Jul 11, 2006 10:21 am
Posts: 457
Location: Columbus, Ohio
As I recall, Hibernate 2 did not do batch updating so well. If you have the possibility to upgrade to Hibernate 3, you can read some information about batch updating here: http://www.hibernate.org/hib_docs/v3/re ... gle/#batch


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 19, 2007 8:46 am 
Beginner
Beginner

Joined: Wed Jun 14, 2006 9:44 am
Posts: 22
thanks!!!! :-)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 19, 2007 2:02 pm 
Beginner
Beginner

Joined: Wed Jun 14, 2006 9:44 am
Posts: 22
Hi,

unhappyly this solution donĀ“t solve with Hibernate 2.1.7.

Another solution exists? :-(


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