src/share/classes/java/sql/ResultSet.java

Print this page

        

*** 1348,1358 **** * that created the result set. The fetch size may be changed at any time. * * @param rows the number of rows to fetch * @exception SQLException if a database access error occurs; this method * is called on a closed result set or the ! * condition <code>rows >= 0 </code> is not satisfied * @since 1.2 * @see #getFetchSize */ void setFetchSize(int rows) throws SQLException; --- 1348,1358 ---- * that created the result set. The fetch size may be changed at any time. * * @param rows the number of rows to fetch * @exception SQLException if a database access error occurs; this method * is called on a closed result set or the ! * condition {@code rows >= 0} is not satisfied * @since 1.2 * @see #getFetchSize */ void setFetchSize(int rows) throws SQLException;