Statement.setMaxRows
Interface Overview | Interface Members |
This Package |
All Packages
public abstract void setMaxRows( int max ) throws SQLException
Parameters
- max
- the new max rows limit; zero means unlimited
Description
The maxRows limit is set to limit the number of rows that any
ResultSet can contain. If the limit is exceeded, the excess
rows are silently dropped.
Exceptions
SQLException
if a database-access error occurs.