[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to get a specific number of rows?

jaikiran do-not-reply at jboss.com
Sun Jan 27 03:43:12 EST 2008


Use setMaxResults() API on the Query object:

http://java.sun.com/javaee/5/docs/api/javax/persistence/Query.html#setMaxResults(int)

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123815



More information about the jboss-user mailing list