#1388 - AutoTune - tuned query includes "null" as fetched property

This commit is contained in:
rob bygrave
2018-05-27 17:33:26 +12:00
parent 2e36402a76
commit bbd7baf1be
3 changed files with 6 additions and 6 deletions
@@ -89,8 +89,7 @@ public class PathProperties implements FetchPath {
}
Props getProps(String path) {
Props props = pathMap.computeIfAbsent(path, p -> new Props(this, null, p));
return props;
return pathMap.computeIfAbsent(path, p -> new Props(this, null, p));
}
public Collection<Props> getPathProps() {
@@ -157,7 +157,7 @@ public class BeanPropertyAssocMany<T> extends BeanPropertyAssoc<T> implements ST
if (elementCollection) {
targetDescriptor = elementDescriptor;
} else {
targetDescriptor = descriptor.getBeanDescriptor(targetType);
super.initialiseTargetDescriptor(initContext);
}
}
+4 -3
View File
@@ -11,9 +11,10 @@
ebean.encryptKeyManager=org.tests.basic.encrypt.BasicEncyptKeyManager
#ebean.autotune.querytuning=true
#ebean.autotune.profiling=true
#ebean.autotune.profilingUpdateFrequency=5
#ebean.disableL2Cache=true
#ebean.autoTune.queryTuning=true
#ebean.autoTune.profiling=true
#ebean.autoTune.profilingUpdateFrequency=5
ebean.ddl.generate=true
ebean.ddl.run=true