How to do rollback in spring bach for specific chunk? -


say have 1000 data being read reader , chunk size 50.in processor after doing business logic , deleting data table calling java stored procedure , in case of deletion fail , incrementing failed-deletion count. @ last when control comes writer if failed-deletion count> 0 want rollback entire deletion particular chunk , should not affect other chunk process. can please on this? more information please let me know.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -