Spring Batch exception records inserting in database
Hi,
I am currently working on project wherein I am reading, validating and then inserting records in database. Now,
- While validating, if some erroneous record comes up, I have to update its status in db and continue processing next record.
- If validation for a record is successful, again its status has to be updated in db.
Please suggest a way out for the same.
Thanks in anticipation :)