setFirstResult(startPosition) - JPA Query's method
Method javax.persistence.Query
Query setFirstResult(
int startPosition
)
- Parameters:
-
startPosition
- position of the first result, numbered from 0
- Returns:
- the same query instance
- Throws:
-
IllegalArgumentException
- if the argument is negative
- Since:
- JPA 1.0