steckemetz wrote:
Isnt batch size just involved in insert and update ?
Just wondering.
the documentation states that batch-size is used when doing selects - this is most often used when you are doing either child-gets or doing lots of loads that can be lazy loaded. Hibernate can then batch up all the selects.
It seems hibernate is testing to see which children already exist - which is good, but the problem for me is that there are like 45,000 children. So that makes for 45,000 queries - the database IPC overhead is killing me :-)