Announcement Announcement Module
Collapse
No announcement yet.
example for aggressive flush implementation in spring batch 1.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.
Working...
X