#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
@@ -321,7 +321,7 @@ public class TestQuerySingleAttribute extends BaseTestCase {
Query<EUncle> query = Ebean.find(EUncle.class)
.fetch("parent", "more");
Ebean.getDefaultServer().findSingleAttributeList(query, null);
query.findSingleAttributeList();
assertThat(sqlOf(query)).contains("select t1.more from rawinherit_uncle t0 join rawinherit_parent t1 on t1.id = t0.parent_id");
}