[jboss-user] [EJB 3.0] - Re: traversing through result
gerch
do-not-reply at jboss.com
Tue Jan 29 12:34:18 EST 2008
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
More information about the jboss-user
mailing list