java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unsupported
method: ResultSet.last
高手们给解决一下吧。
Statement这样写才能用 ResultSet.last:
Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_UPDATABLE);
ResultSet rs=stmt.executeQuery(sql);
rs.last();