Annotation Type SqlBatch
Unfortunately, because of how batches work, statement customizers and sql statement customizers which affect SQL generation will *not* work with batches. This primarily effects statement location and rewriting, which will always use the values defined on the bound Handle.
If you want to chunk up the logical batch into a number of smaller batches (say around 1000 rows at
a time in order to not wreck havoc on the transaction log, you should see
Optional Element Summary
- the SQL string (or name)
- whether to execute the batch chunks in a transaction. Default is true (and it will be strange if you want otherwise).