add global configuration disableLazyLoading (#1548)

This commit is contained in:
ooknight authored and Rob Bygrave committed 2018-11-19 21:45:05 +13:00
1 parent 68da8944ed
commit b3584a81b4
4 files changed
+41 -1

No files matched your search

@@ -284,6 +284,7 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
this.orderById = server.getServerConfig().isDefaultOrderById();
this.expressionFactory = expressionFactory;
this.detail = new OrmQueryDetail();
this.disableLazyLoading = server.getServerConfig().isDisableLazyLoading();
}
public void setNativeSql(String nativeSql) {