CachedRowSet looks cool. I'd never seen that before. Thanks!
I'm pretty sure that I've read that all
JDBC implementations are lazy about transferring data from the database into
Java memory. When you select a zillion rows the driver fetches some subset of them into the ResultSet. As you work through the RS the RS gets more rows into memory. If you're set to scroll forward only, the RS can throw away rows you've already seen.
Anybody know if my recollection is correct? Does that also do just what the poster wants?