Jakarta Persistence (JPA) Method

TypedQuery<X> setFirstResult(
  int startPosition
)


Set the position of the first result to retrieve.
Parameters:
startPosition - position of the first result, numbered from 0
Returns:
the same query instance.
Throws:
IllegalArgumentException - if the argument is negative.
Since:
Jakarta Persistence (JPA) 1.0