code: public void setFetchSize(final int rows) throws SQLException {
      if (rows < 0 && rows != Integer.MIN_VALUE) {
        throw new SQLException("invalid fetch size");
      } else if (rows == Integer.MIN_VALUE) {
        //for compatibility Integer.MIN_VALUE is transform to 0 => streaming
        this.fetchSize = 1;
        return;
      }
      this.fetchSize = rows;
    }
docs: 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
  <code>ResultSet</code> objects generated by this <code>Statement</code>. If the value
  specified is zero, then the hint is ignored. The default value is zero.
  
  @param rows the number of rows to fetch
  @throws SQLException if a database access error occurs, this method is called on a closed
  <code>Statement</code> or the condition
  <code>rows &gt;= 0</code> is not satisfied.
  @see #getFetchSize