I am currently working on project wherein I am inserting thousands of records in database using spring batch. So is there any way where I can handle exceptions in my ItemReader and ItemWriter?
I need to apply logic for failure of records when job executes i.e if I am inserting some 100 records at the end of the day by reading xml file and if 50 of them fail due to some reason, I want to skip these failed records and continue processing remaining records.
I will be glad if you help me accordingly.
Thanks in advance :)