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

后端 未结 7 1935
渐次进展
渐次进展 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:15

    java.sql.ResultSet is an interface, so you could create your own class that implements that interface.

提交回复
热议问题