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.
rows | the number of rows to fetch |
SQLException | if a database access error occurs,
this method is called on a closed Statement or the
condition rows >= 0 is not satisfied. |
getFetchSize
Diagram: Statement