I need JDBC implementation of ItemReader to read from database result set based on some key. And I need to be able to restart read and processing from the exact unfinished chunk as well as while reading from file. I'm a Spring Batch beginner I've just implementet a simple PoC using default autoconfiguration. The problem is that I need to sort data file first and read from sorted result.
Is there a simple way to read data from DB select?