With hibernate, when I attempt to enable batch inserts with
50
I get the follow
To enable batching for both INSERT and UPDATE statements, you need to sett all the following Hibernate properties:
30
true
true
true
If you can use a SEQUENCE, then you should not use IDENTITY generators, since it disables batch fetching.
If you cannot use a SEQUENCE (e.g. MySQL), then try using a separate mechanism to enable batch inserts (e.g. jOOQ) instead of using the TABLE generator which does not scale and has a high-performance penalty.