How does Spring Batch CompositeItemWriter manage transaction for delegate writers?

My first question is if CompositeItemWriter is a fit for the requirement above? Yes, CompositeItemWriter is the way to go. If yes, that lead to the second question about transaction. For example, if the first update is successful, and the second insert fails. Will the 1st update transaction be rolled back automatically? Otherwise, how to … Read more