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
Post a Comment