ObjectDB ObjectDB

setFirstResult(startPosition) - JPA Query's method

Method
javax.persistence.Query
Query 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:
JPA 1.0