diff --git a/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java b/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java index 8c25f2014..8abaf3d13 100644 --- a/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java +++ b/ebean-api/src/main/java/io/ebean/config/DatabaseConfig.java @@ -526,11 +526,6 @@ public class DatabaseConfig { private ProfilingConfig profilingConfig = new ProfilingConfig(); - /** - * Controls the default order by id setting of queries. See {@link Query#orderById(boolean)} - */ - private boolean defaultOrderById; - /** * The mappingLocations for searching xml mapping. */ @@ -595,22 +590,6 @@ public class DatabaseConfig { this.slowQueryListener = slowQueryListener; } - - /** - * Deprecated - look to have explicit order by. Sets the default orderById setting for queries. - */ - @Deprecated - public void setDefaultOrderById(boolean defaultOrderById) { - this.defaultOrderById = defaultOrderById; - } - - /** - * Returns the default orderById setting for queries. - */ - public boolean isDefaultOrderById() { - return defaultOrderById; - } - /** * Put a service object into configuration such that it can be used by ebean or a plugin. *
@@ -2327,8 +2306,6 @@ public class DatabaseConfig { *
* If no classes are specified then the classes are found automatically via * searching the class path. - *
- * Alternatively the classes can be added via {@link #setClasses(List)}.
*
* @param cls the entity type (or other type) that should be registered by this database.
*/
@@ -2942,7 +2919,6 @@ public class DatabaseConfig {
jdbcFetchSizeFindEach = p.getInt("jdbcFetchSizeFindEach", jdbcFetchSizeFindEach);
jdbcFetchSizeFindList = p.getInt("jdbcFetchSizeFindList", jdbcFetchSizeFindList);
databasePlatformName = p.get("databasePlatformName", databasePlatformName);
- defaultOrderById = p.getBoolean("defaultOrderById", defaultOrderById);
uuidVersion = p.getEnum(UuidVersion.class, "uuidVersion", uuidVersion);
uuidStateFile = p.get("uuidStateFile", uuidStateFile);
diff --git a/ebean-core/src/main/java/io/ebeaninternal/server/querydefn/DefaultOrmQuery.java b/ebean-core/src/main/java/io/ebeaninternal/server/querydefn/DefaultOrmQuery.java
index 45866375d..e5e6b8e5a 100644
--- a/ebean-core/src/main/java/io/ebeaninternal/server/querydefn/DefaultOrmQuery.java
+++ b/ebean-core/src/main/java/io/ebeaninternal/server/querydefn/DefaultOrmQuery.java
@@ -169,7 +169,6 @@ public class DefaultOrmQuery