com.sun.rowset.CachedRowSetImpl.toCollection后数据的读取

Collection col = con.getResultSet();
con.releaseQueryConfig();
int count = 0;
String cn = null;
java.util.Iterator it = col.iterator();
while(it.hasNext()) {
it.toString();
com.sun.rowset.internal.Row row = (com.sun.rowset.internal.Row)it.next();
cn = (String) row.getColumnObject(1);
String email = (String)row.getColumnObject(2);
String date = (String)row.getColumnObject(5);
System.out.println(row);
}

你可能感兴趣的:(java,sun)