[jboss-user] [EJB 3.0] - Re: EntityManager's Native Query & Paging Results

rabbiaqaswar do-not-reply at jboss.com
Fri Jun 13 05:32:43 EDT 2008


It is a SQL join query which returns primary keys of type BigDecimal of  a database table.

It workds fine without paging i.e. return 20 ids and when the first ten records are fetched using the setFirstResult & setMaxResults methods. The problem occurs when the first result is set to 10 and max to 20.

Thanks

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

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



More information about the jboss-user mailing list