public abstract void setFetchSize (int rows) throws SQLException

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 ResultSet objects generated by this Statement. If the value specified is zero, then the hint is ignored. The default value is zero.

Parameters:
rows    the number of rows to fetch

Exceptions:
SQLException    if a database access error occurs, this method is called on a closed Statement or the condition rows >= 0 is not satisfied.

See also:
getFetchSize

Since:  1.2