-->
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: AbstractBatcher instead of BatchingBatcher used
PostPosted: Thu Aug 12, 2010 8:37 am 
Beginner
Beginner

Joined: Sun Apr 25, 2010 7:14 am
Posts: 30
Hi,

i don't get any batching of insert statements from hibernate. I enabled the debug log an can see that the AbstractBatcher
is used (instead of the BatchingBatcher that it should be, shouldn't it?).

In my hibernate.cfg.xml i configured:
Code:
<property name="jdbc.batch_size">10</property>
<property name="jdbc.factory_class">org.hibernate.jdbc.BatchingBatcherFactory</property>
<property name="order_inserts">true</property>
<property name="order_updates">true</property>

Could anybody please tell me why hibernate doesn't use the BatchingBatcher?

Yours
Thomas


Top
 Profile  
 
 Post subject: Re: AbstractBatcher instead of BatchingBatcher used
PostPosted: Sat Aug 14, 2010 8:29 am 
Beginner
Beginner

Joined: Sun Apr 25, 2010 7:14 am
Posts: 30
Can really nobody give me any hint about this issue? It's quite important for me to get this working.


Top
 Profile  
 
 Post subject: Re: AbstractBatcher instead of BatchingBatcher used
PostPosted: Wed Sep 15, 2010 8:01 am 
Beginner
Beginner

Joined: Sun Apr 25, 2010 7:14 am
Posts: 30
Still searching for a solution


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.