I\'m using Db2 on AS/400, and I am trying to execute a JPQL query that will return results from row x to row y.
In SQL this works:
select cur.* from
Query q = em.createQuery("select e from SomeEntity e") .setFirstResult(0) .setMaxResults(10);