#1434 - Remove deprecated API from EbeanServer - finder methods that take explicit transaction. Migrate to use ebeanServer.extended()

This commit is contained in:
rob bygrave
2018-06-18 21:34:51 +12:00
parent 8d976f83a9
commit 3a64cf6952
13 changed files with 30 additions and 481 deletions
@@ -27,10 +27,10 @@ public class TestFetchId extends BaseTestCase {
.gt("details.id", 0)
.query();
List<Object> ids = Ebean.getServer(null).findIds(query, null);
List<Object> ids = query.findIds();
assertThat(ids).isNotEmpty();
FutureIds<Order> futureIds = Ebean.getServer(null).findFutureIds(query, null);
FutureIds<Order> futureIds = query.findFutureIds();
// wait for all the id's to be fetched
List<Object> idList = futureIds.get();