#718 - Remove findPagedList(pageIndex, pageSize) ... migrate to setFirstRows().setMaxRows().findPagedList()

This commit is contained in:
Robin Bygrave
2016-05-20 23:04:35 +12:00
parent 662be92a16
commit b2a3f0c99b
15 changed files with 19 additions and 168 deletions
@@ -93,7 +93,7 @@ public class TestRawSqlOrmQuery extends BaseTestCase {
int initialRowCount = query.findRowCount();
PagedList<Customer> page = query.findPagedList(0, 2);
PagedList<Customer> page = query.setMaxRows(2).findPagedList();
List<Customer> list = page.getList();
int rowCount = page.getTotalRowCount();