Announcement Announcement Module
Collapse
No announcement yet.
Marking processed items in the database. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • 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, 09:42 AM.
Working...
X