setMaxResults(10); here denotes how may rows you would like to handle at a time. Usually
this is harcoded, got nothing to do with number of rows in table
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4124859#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...