ObjectDB Database Search

1-9 of 9 results

jakarta.persistence.TypedQuery.setFirstResult(int)

Jakarta Persistence (JPA) Method in jakarta.persistence.TypedQuery TypedQuery 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

Setting and Tuning of JPA Queries

getSingleResult . Result range ( setFirstResult , setMaxResults) The setFirstResult and setMaxResults methods let you define a result window, which is a portion of a large query result list. The setFirstResult ... for a specific page: List results = query. setFirstResult (pageIx * pageSize) . setMaxResults (pageSize

jakarta.persistence.TypedQuery

result the query object was set to retrieve. Returns 0 if setFirstResult was not applied to the query ... ) 3.2 TypedQuery setFirstResult ( int startPosition ) Set the position of the first result to retrieve. Overrides Query. setFirstResult Parameters: startPosition - position of the first result

About LIMIT and OFFSET as query tokens

range using setFirstResult and setMaxResults . support Support Thanks you!!! mgarciat Miguel

slow performance for a complex query

over result set with setFirstResult and setMaxResults. I could do this with subqueries, however as I

Sorting problem

: 109 Branch: 110 Branch: 111 Branch: 112 Branch: 113 The same if I use setFirstResult

NPE at com.objectdb.jpa.JpaQuery.getResultList

. setFirstResult (firstResult); } return q.getResultList(); } finally { em.close(); } } longpat Brian ... ;         q. setFirstResult (firstResult);     

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

= em.createQuery(cq); if (!all) { q.setMaxResults(maxResults); q. setFirstResult (firstResult

Unexpected Exception (Error 990) with ArrayIndexOutOfBoundsException

); query. setFirstResult (50000); final List results = query.getResultList(); final Query queryDelete = em .createQuery("DELETE FROM EventLogPersistEntry p WHERE p.id