About setFirstResult

11-19 of 19Refresh
Forum
3

Performance problem

("SELECT e FROM AktImpl e", AktImpl.class);         queryAkt.setFirstResult(i); queryAkt ... .setFirstResult(i); queryAkt.setMaxResults(20); queryAkt.getResultList(); i += 20
Issue
2

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

.setMaxResults(maxResults); q.setFirstResult(firstResult); } return q
Forum
2

About LIMIT and OFFSET as query tokens

  MiguelGT       Thanks you in advance In JPA you specify a result range using setFirstResult and setMaxResults. Thanks you!!! mgarciat
Forum
2

Iterating over large result set

");     for (Tuple t : q.setFirstResult(page).setMaxResults(pageSize).getResultList()) {         // work
Forum
2

LIMIT or TOP functions

Is there LIMIT or TOP functions in object db? If so can you provide some examples? You can set query result range by using the setFirstResult and setMaxResults methods. You can find more details and an example in the manual. Thanks. This solved my purpose. vinodh
Forum
2

Query perfromance problem

.class);   }   try {    logger.debug("Executing query");    prodList = icQuery.setFirstResult(start
Forum
2

Selecting random rows

' (error 752) (position 26) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:725) You may use setFirstResult with a random number. Aras90
Forum
2

slow performance for a complex query

set with setFirstResult and setMaxResults. I could do this with subqueries, however as I understand
Forum
2

Sorting problem

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