-->
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 FlushMode.AUTO Questions
PostPosted: Tue Nov 30, 2010 3:47 pm 
Newbie

Joined: Tue Nov 30, 2010 3:10 pm
Posts: 1
Hello,

I'm trying to understand the relationship between FlushMode.AUTO and the hibernate property "hibernate.jdbc.batch_size". Specifically I want to know what happens when the number of queries in the session waiting to be flushed becomes larger than the configured batch size. Will hibernate flush the first level cache at that point automatically? If so would that mean I never have to manually call mySession.flush()? If hibernate does not flush when the sql batch exceeds the configured limit, what is the reason for the hibernate.jdbc.batch_size property?

Brandon


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.