-->
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: Batchupdate with table per hierarchy possible ?
PostPosted: Thu Oct 08, 2009 10:04 am 
Newbie

Joined: Thu Oct 08, 2009 9:49 am
Posts: 1
I have some performance problems due to the commit period. I take a look an the logs and saw that for the objects with hierarchy it always make only one batch (Executing batch update: 1) for each hierarchy object subsequently and these leads to a lot of inserts. (The length of hierarchy is pretty long, partial till to 5 levels).

For the other objects (tables) without hierarchy the batch update runs well.

I also configured :hibernate.order_inserts=true and hibernate.order_updates=true

I guess hibernate does not support batch updates for table per hierarchy, am i right ?

Thanks

Marius


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.