Typo error in the previous post, for the first scenario, its:
setfirstResult(0) and setMaxResults(10)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158631#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...