statemnt.setFetchSize()与resultset.setFetchSize()的关系与区别。
谢谢
麻烦知道的给说一下,有点不明白

解决方案 »

  1.   

    文档查到的
    resultset.setFetchSize(int rows) 
              Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed for this ResultSet object.statemnt.setFetchSize(int rows) 
              Gives the JDBC driver a hint as to the number of rows that should be fetched from the database when more rows are needed.