By default, only one ResultSet object per Statement object can be open at the same time. Therefore, if the reading of one ResultSet object is interleaved with the reading of another, each must have been generated by different Statement objects. 你想要有两个同时存在的resultset,就必须有两个statement。
Therefore, if the reading of one ResultSet object is interleaved with the reading of another, each
must have been generated by different Statement objects.
你想要有两个同时存在的resultset,就必须有两个statement。
或者用rowset.jar的CachedRowSet