Announcement Announcement Module
No announcement yet.
Marking processed items in the database. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Marking processed items in the database.

    Well, a newbie question. What is the standard spring batch solution for the third step of the following simple problem:
    1. Read items from the db (select * from my_table where ... and writtenToTextFile=false)
    2. Write items to the file
    3. Mark processed files as written (update my_table set writtenToTextFile=true where id in (...) )
    Thank you.
    PS. OK, there is ProcessIndicatorItemWrapper in batch samples.
    No more questions, please, delete this thread if possible.
    Last edited by VaivattaAvattava; Jul 9th, 2010, 08:42 AM.