When using one of the various JDBC template methods I am confused on how to iterate/scroll over large result sets (which won\'t fit into memory). Even without a direct expos
You may use springjdbc-iterable library:
CloseableIterator iter = jt.queryForIter("select ...", params, mapper);
Iterator will be auto-closed on exhaustion or may be closed manually. It will work only within transaction bounds.
Disclaimer: I wrote this library