mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Deprecate orderBy() migrate to order()
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user