Hibernate logs show this:
[debug] o.h.e.t.i.TransactionImpl - begin
do stuff...
[debug] o.h.e.t.i.TransactionImpl - committing
do more stuff... inserts, updates etc...
[debug] o.h.e.j.i.JdbcCoordinatorImpl - HHH000420: Closing un-released batch
When it’s “supposed” to do this
[debug] o.h.e.t.i.TransactionImpl - begin
do stuff...
do more stuff... inserts, updates etc...
[debug] o.h.e.t.i.TransactionImpl - committing
I wrapped the entire thing in a transaction, so I don’t imagine it’s a problem with my code. Am I missing something? How can I control when the actual transactions happen?