| Turns out that the problem is in fact related to hibernate.order_inserts=true, which is set in my example project in testcontext.xml. When you remove batch_size, order_inserts and order_updates the problem goes away. I hope this info helps in tracking down the underlying problem. Thanks in advance for looking into it! |