getMaxResults() - JPA Query's method
Method javax.persistence.Query
int getMaxResults()
Integer.MAX_VALUE
if setMaxResults
was not applied to the query object. - Returns:
- maximum number of results
- Since:
- JPA 2.0