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
|