public Statement createStatement(int resultSetType,
int resultSetConcurrency)
throws SQLException
Creates a Statement object that will generate ResultSet objects with the given type and concurrency. This method is the same as the createStatement method above, but it allows the default result set type and result set concurrency type to be overridden.
int resultSetConcurrency)
throws SQLException
Creates a Statement object that will generate ResultSet objects with the given type and concurrency. This method is the same as the createStatement method above, but it allows the default result set type and result set concurrency type to be overridden.
所以首先应该升级你的jdbc.到sun网站上去down一个jdbc(大于2.0的),然后加到你的环境中去
反正Statement stmt=conn.createStatement(ResultSet.======,ResultSet.=====)错误,
而且rs.afterLast()也不能正确使用