How does Spring Batch transaction management work?
I'm trying to understand how Spring Batch does transaction management. This is not a technical question but more of conceptual one: what approach does Spring Batch use and what are the consequences of that approach? Let me try to clarify this question a bit. For instance, looking at the TaskletStep, I see that generally a step execution looks something like this: several JobRepository transactions to prepare the step metadata a business transaction for every chunk to process more JobRepository transactions to update the step metadata with the results of chunk processing This seems to make