Java JDBC Lazy-Loaded ResultSet

后端 未结 5 1000
死守一世寂寞
死守一世寂寞 2020-12-08 00:48

Is there a way to get a ResultSet you obtain from running a JDBC query to be lazily-loaded? I want each row to be loaded as I request it and not beforehand.

5条回答
  •  长情又很酷
    2020-12-08 01:13

    I think what you would want to do is defer the actually loading of the ResultSet itself. You would need to implement that manually.

提交回复
热议问题