mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-09 08:42:18 +00:00
#718 - Remove findPagedList(pageIndex, pageSize) ... migrate to setFirstRows().setMaxRows().findPagedList()
This commit is contained in:
1 parent
662be92a16
commit
b2a3f0c99b
15 files changed
+19
-168
No files matched your search
@@ -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