[jboss-user] [JBoss Seam] - Re: paginating a datamodel
hstang
do-not-reply at jboss.com
Wed Dec 27 09:44:21 EST 2006
The Query API may help.
http://java.sun.com/javaee/5/docs/api/javax/persistence/Query.html
| Query setFirstResult(int startPosition)
| Set the position of the first result to retrieve.
|
| Query setMaxResults(int maxResult)
| Set the maximum number of results to retrieve.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996443#3996443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996443
More information about the jboss-user
mailing list