JPA Method
in javax.persistence.Query

int getMaxResults()


The maximum number of results the query object was set to retrieve. Returns Integer.MAX_VALUE if setMaxResults was not applied to the query object.
Return:
maximum number of results
Since:
JPA 2.0