Annotation Type MaxRows
Used to specify the maximum number of rows to return on a result set. Passes through to
setMaxRows on the JDBC prepared statement.
This is significantly less efficient than a SQL
LIMIT
, be careful!-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionint
The max number of rows to return from the query.
-
Element Details
-
value
int valueThe max number of rows to return from the query.- Returns:
- the max rows
- Default:
-1
-