How does spring batch identify the commit interval in a compositeItemWriter?
If my commit-interval=50000, and I have a CompositeItemWriter, which has 4 different writers included, each of which is passed a list of 50000 records.
Is the transaction committed at the end of writing 200000 ( 50000 * 4) records ?
If 1 of the itemWriters fails due to an exception, what happens to the entire transaction?