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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -