For #2038 - updated from 12.3.6 to 12.3.7 - NPE BeanDescriptor.findPropertyFromPath(BeanDescriptor.java:1965) (#2047)

* #2038 - lazy loading ToMany with path

* #2038 - Failing test for NPE BeanDescriptor.findPropertyFromPath(BeanDescriptor.java:1965)

* #2038 Refactor internals DbReadContext use BeanPropertyAssocMany
This commit is contained in:
Rob Bygrave
2020-08-24 18:40:36 +12:00
committed by GitHub
parent c8d352b0a8
commit 002014f930
15 changed files with 212 additions and 22 deletions
@@ -5,6 +5,7 @@ import io.ebean.bean.EntityBeanIntercept;
import io.ebean.bean.ObjectGraphNode;
import io.ebean.bean.PersistenceContext;
import io.ebeaninternal.server.core.OrmQueryRequest;
import io.ebeaninternal.server.deploy.BeanPropertyAssocMany;
import io.ebeaninternal.server.deploy.BeanPropertyAssocOne;
/**
@@ -56,6 +57,5 @@ public interface LoadContext {
/**
* Register a collection for lazy loading.
*/
void register(String path, BeanCollection<?> bc);
void register(String path, BeanPropertyAssocMany<?> many, BeanCollection<?> bc);
}