ok i get the part of perhaps saying:

for (int i = 0; i < maxSize; i = i+ 10){
  | 
  |    q.setFirstResult(i);
  |    q.setMaxResults(10);
  | }

but how do i find out the max rows ? do i need to do a count statement before 
that ?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124503#4124503

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4124503
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to