Spring Batch covers the cases where you have to get the right answer!
That is you are "full scanning" and making a report or doing something like a reconciliation process in a financial institution, it is not like some image boards where there is a link to the 1781th page of images but it spends forever loading it if you click on it.
But very often, a result missing or duplicated in a few queries isn't a showstopper. On that case, pagination is very simple.