Re: cellTable paging: server side query return wrong result using JPA

2011-04-07 Thread Sea
I have same problem, Please fix. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@google

Re: cellTable paging: server side query return wrong result using JPA

2010-12-25 Thread Mike
another question, the JPQL query seems rarely function well, i checked if i use: List rl = em.createQuery( "select o from Person o" ).setFirstResult( startIndex ).setMaxResults( maxCount ).getResultList(); my first query using the startIndex=0; and maxCount=35, it return 35 obj

cellTable paging: server side query return wrong result using JPA

2010-12-25 Thread Mike
hi all: follow the well know expense example, i see the following code in Report.java: @SuppressWarnings("unchecked") public static List findReportEntries(int firstResult, int maxResults) { EntityManager em = entityManager(); try { List reportList = em.createQuery(