ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiran vuppla <kirankumar_vup...@yahoo.com>
Subject SV: Pagination.
Date Mon, 25 Aug 2008 19:36:54 GMT
 
For pagination I see that in the mailing list to use the following but would like to know
how it works. I mean For every request will it always gets all the rows and skips the rows
and get the pagesize what we want? 
 
result = sqlMap.queryForList("searchCompanies", searchBean, ((pageNumber-1) * 
pageSize), pageSize);
 
Thanks,
Kiran


      
Mime
View raw message