-
Jul 8th, 2010, 08:11 AM
#1
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 at 08:42 AM.
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