mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#718 - Remove findPagedList(pageIndex, pageSize) ... migrate to setFirstRows().setMaxRows().findPagedList()
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user