-
Sep 8th, 2012, 09:55 PM
#1
example for aggressive flush implementation in spring batch 1.1
Hi All,
I am using Spring batch 1.1 and JDK 1.4.
I want to flush on each item in Item Writer For e.g say perhaps I receive 100 items in Item writer,
iterating each item and insertion/updation is happening on many table .Hence I want flush item
in the iteration loop .
Spring gives an option to use composite Item writer and BatchSqlUpdateItemwriter . I don't understand how to implement this for multiple table insertion/updation. i.e many dao's I have to call in flush method
Please share any sample implementation for aggressive flush.
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