Hello,
We currently have the following step defined:
Under this configuration whenever an Exception occurs, while processing a chunk, that chunk(of 500) import will be rollbacked. But what if one wants to rollback the whole step instead of just the chunk.Code:<step id="readWriteWorks"> <tasklet> <chunk reader="reader" processor="processor" writer="writer" commit-interval="500"> </tasklet> <end on="COMPLETED"/> </step>
What if one million rows have already been imported prior to the failed chunk and we want those rows to be part of the transaction?
Is there a configuration option for that?
Thank you,
Savvas


Reply With Quote