-
Mar 27th, 2012, 07:48 AM
#1
Custom Item Writer Skip Behaviour
Hi,
I have Implemented ItemWriter and am using jdbcTemplate to update database in write(list<T>..) method.
My question is,
i get a list of objects in the write() method, and i am having a For loop to Update each record in Database using JdbcTemplate.
If one record fails to update in the list and exception is thrown by jdbcTemplate.update(), does it mean that the rest of the items are not processed at all?
do i have to write custom logic in For loop inside Write() to catch exception and skip according to skip settings? if yes, how do i get the Skip Setting in the Custom Item Writer?
Regards,
Pravin
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules