Deprecate orderBy() migrate to order()

This commit is contained in:
rob bygrave
2020-02-18 23:27:43 +13:00
parent 6961bf5787
commit 168dacffa7
39 changed files with 100 additions and 134 deletions
@@ -34,7 +34,7 @@ public class TestTextJsonSelfRef extends BaseTestCase {
}
});
List<SelfRefCustomer> customers = Ebean.find(SelfRefCustomer.class).orderBy("id desc").findList();
List<SelfRefCustomer> customers = Ebean.find(SelfRefCustomer.class).order("id desc").findList();
// Check that there are no 'reference' beans here
for (SelfRefCustomer cust : customers) {