I found this in the docs:
Hibernate disables insert batching at the JDBC level transparently if you use an identity identifier generator.
Does this mean if you use identity columns on any table in your database, Hibernate will disable insert batching? Or is it context-specific - i.e. if any of the insert statements in the batch are inserting data into tables with identity columns, it will disable batching?
As you can see, I'm a bit confused. Any help would be appreciated.