mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Refactor internals DefaultRelationalQueryEngine.findListMapper()
- Remove findListMapper() method - Introduce RowReader interface - Combine findList internals for both SqlRow and RowMapper use
This commit is contained in:
@@ -2,7 +2,6 @@ package org.tests.query.sqlquery;
|
||||
|
||||
import io.ebean.BaseTestCase;
|
||||
import io.ebean.DB;
|
||||
import io.ebean.Ebean;
|
||||
import io.ebean.RowMapper;
|
||||
import io.ebean.SqlQuery;
|
||||
import io.ebean.SqlRow;
|
||||
@@ -361,7 +360,7 @@ public class SqlQueryTests extends BaseTestCase {
|
||||
|
||||
ResetBasicData.reset();
|
||||
|
||||
int expectedRows = Ebean.find(Order.class).findCount();
|
||||
int expectedRows = DB.find(Order.class).findCount();
|
||||
|
||||
final AtomicInteger count = new AtomicInteger();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user