我需要使用CachedRowSet或任何其他可能的方式复制ResultSet的帮助。我在这一点上
ResultSet rs = stmt.executeQuery(query);
CachedRowSetImpl crs = new CachedRowSetImpl();
crs.populate(rs);如何使用ResultSet rs填充不同的CachedRowSet,比如crs2
发布于 2011-07-30 01:22:26
要执行深度复制,请尝试
CachedRowSet crs2 = crs.createCopy();https://stackoverflow.com/questions/6876401
复制相似问题