Home » Search

About setMaxResults

11-20 of 28Refresh
Forum
3

Performance problem

.setMaxResults(20); queryAkt.getResultList(); i += 20;     }     endTime ... .setFirstResult(i); queryAkt.setMaxResults(20); queryAkt.getResultList(); i += 20
Forum
3

JPA - ExceptionInInitializerError when creating EntityManager

).setMaxResults(1); EmailSettings smtp, port, from; smtp = emailSettings.setParameter("name ... AttendanceSettings WHERE rtrim(LTRIM(Name))='SHIFTATTENDAFTERSLOT'")                     .setMaxResults(1
Forum
2

100% CPU when using multiple BETWEEN

to the first 50 records with Query.setMaxResults(...).   Any suggestions? Thank you Emil   In
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
Issue
2

Issue with cascade delete & add/remove

Contact")             .setMaxResults(1).getSingleResult();         em.getTransaction().begin
Forum
2

Iterating over large result set

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

Left join fetch behaviour doesn't retrieve children?

);     // Retrieve only 10 000   List entities = query.setMaxResults(10000).getResultList();   Long
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

Mapped By Fetch is very Slow

.setMaxResults(10000).getResultList();   Long end = new Date().getTime();   Long duration = (end