mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#826 - Remove deprecated methods - migrate findRowCount() to findCount() & findFutureRowCount() to findFutureCount()
This commit is contained in:
@@ -460,11 +460,6 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> int findRowCount(Query<T> query, Transaction transaction) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <A> List<A> findIds(Query<?> query, Transaction transaction) {
|
||||
return null;
|
||||
@@ -495,11 +490,6 @@ public class TDSpiEbeanServer implements SpiEbeanServer {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> FutureRowCount<T> findFutureRowCount(Query<T> query, Transaction transaction) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> FutureIds<T> findFutureIds(Query<T> query, Transaction transaction) {
|
||||
return null;
|
||||
|
||||
@@ -21,7 +21,7 @@ public class TestQueryPlanCacheRowCount extends BaseTestCase {
|
||||
Query<Order> query = Ebean.find(Order.class).where().eq("status", Order.Status.NEW).ge("id", 1)
|
||||
.order().desc("id");
|
||||
|
||||
int rc0 = query.findRowCount();
|
||||
int rc0 = query.findCount();
|
||||
|
||||
List<Integer> ids = query.findIds();
|
||||
Assert.assertEquals(rc0, ids.size());
|
||||
|
||||
Reference in New Issue
Block a user