-->
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: Problem with use of sequence for <id> attribute
PostPosted: Mon Jul 11, 2005 6:09 pm 
Newbie

Joined: Mon Jul 11, 2005 5:55 pm
Posts: 2
Hi All ,

In my current application I ma using sequence option for the id generator. And while I am trying to do the batch insert it is not working properly . While I am calling session.save() it is trying to do a nextVal call from database to get the unique id value to make that object persistent , but those calls are not happening in batch , even if I have set the
hibernate.jdbc.batch_size to 20 .

So can anyone help me on this topic.

Thanks
Subrat


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.