I am working on a spring batch service that pulls data from a db on a schedule. (e.g. every day at 12pm) I am using JdbcPagingItemReader to read the data and a scheduler (@Scheduled provided by spring batch) to launch the job. The problem that I have now is: every time the job runs, it will just pull all the data from the beginning and not from the "last read" row. The data from the db is changing everyday(deleting old ones and adding new ones) and all I have is a timestamp column to track them.
Is there a way to "remember" the last row read from the last execution of the job and read data only later than that row?