Internal Website Search

11-20 of 31 resultsRefresh

Selecting random rows

StawkaVat s ORDER BY rand()").setMaxResults(5).getResultList(); gives exception: setmaxresults">setFirstResult with a random number. support Support

About LIMIT and OFFSET as query tokens

_setfirstresult_setmaxresults">setFirstResult and setMaxResults. support Support Thanks you!!! mgarciat Miguel

Performance problem

); queryAkt.setMaxResults(20); queryAkt.getResultList(); i += 20;   ... .setMaxResults(20); queryAkt.getResultList(); i += 20;     }  

Caching/Paging Questions...

> Would paging result sets via setFirstResult and setMaxResult speed up the query execution since there are fewer ... ;There is no limit on the maximum size of the L2 cache. Using setFirstResult and setMaxResults

JPA - ExceptionInInitializerError when creating EntityManager

("EmailSettings.findByName", EmailSettings.class).setMaxResults(1); EmailSettings smtp, port ... ;         .setMaxResults(1).getSingleResult();   

Server closes if large query runs out of memory

, consider setmaxresults">limiting

New to Product & Having An Issue

); q.setMaxResults(1000); List<Department> departments; try

NPE at com.objectdb.jpa.JpaQuery.getResultList

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

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

)); Query q = em.createQuery(cq); if (!all) { q.setMaxResults

Threaded Test - Failed to commit transaction: Unexpected internal exception

;          Point p = (Point)q.setMaxResults(1