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 -

Python Tornado package error when running server -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -