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
|