How to programmatically create a Java ResultSet from custom data with no database

后端 未结 7 1912
渐次进展
渐次进展 2020-12-17 08:53

I have some existing code that accepts a java.sql.ResultSet that contains info retrieved from an Oracle database. I would now like to reuse this code, but I\'d

7条回答
  •  再見小時候
    2020-12-17 09:14

    You could take a look at the CachedRowSet interface:

    http://java.sun.com/j2se/1.5.0/docs/api/javax/sql/rowset/CachedRowSet.html

    which allows you work in disconnected mode.

提交回复
热议问题