The indexing starts with 1 and not 0. So when setFirstResult(0) is used, it probably gets ignored. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159282#4159282 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159282