-->
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: Batch Insertion in hibernate
PostPosted: Mon Mar 07, 2005 5:20 am 
Newbie

Joined: Tue Dec 28, 2004 6:25 am
Posts: 16
I want to perform batch insertion in hibernate. for example, in a document table i want to insert records for 100 documents in a single database call. if i use save() method in hibernate, i need to call it 100 times.

but for optimization, i want to do it in a single call. is there any way in hibernate. kindly suggest.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 07, 2005 5:46 am 
Regular
Regular

Joined: Wed Feb 02, 2005 6:33 am
Posts: 70
http://blog.hibernate.org/cgi-bin/blosx ... batch.html


Top
 Profile  
 
 Post subject: batch insert in hibernate
PostPosted: Mon Mar 07, 2005 10:34 am 
Newbie

Joined: Wed Feb 02, 2005 11:19 pm
Posts: 6
Any reason why hibernate is not auto-flushing based on the value of
"hibernate.jdbc.batch_size"?


- Jim


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.