queryCriteria.setCurPage(1); //return 1, but debug variable still = 0? int surPage = queryCriteria.getCurPage(); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026513#4026513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026513