In a spring-batch program I have a problem that is related to similar issue. That is, I am updating a column that is in the where clause of the select statement.
For a suggested solution in that post, adding a new column to the database is not an option for me.
Another suggested solution would be to emulate the JpaPagingItemReader
by overriding the getPage()
method. This would entail resetting the page variable to 0.
What is the equivalent variable or technique for RepositoryItemReader
?