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.

解决方案 »

  1.   

    是因为你的jdbc版本低于2.0,所以编译通不过;
    所以首先应该升级你的jdbc.到sun网站上去down一个jdbc(大于2.0的),然后加到你的环境中去
      

  2.   

    我用的版本是jdk1.2.2+jswdk1.0.1,
    反正Statement stmt=conn.createStatement(ResultSet.======,ResultSet.=====)错误,
    而且rs.afterLast()也不能正确使用
      

  3.   

    反正你的没到2.0(有谁做过语音吗(Call center)?)