Statement.getMaxRows

Statement.getMaxRows

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract int getMaxRows() throws SQLException
Returns
the current max row limit; zero means unlimited
Description
The maxRows limit is the maximum number of rows that a ResultSet can contain. If the limit is exceeded, the excess rows are silently dropped.

Exceptions
SQLException if a database-access error occurs.