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.