#725 - L2 cache not updating CacheManyId's entry when Lazy loading on a ToMany relationship, after a prior update, when other ToMany is a vanilla type (like ArrayList)

This commit is contained in:
Robin Bygrave
2016-05-30 17:01:20 +12:00
parent 37ea56ad11
commit 2442eb017a
2 changed files with 45 additions and 0 deletions
@@ -638,6 +638,8 @@ public class BeanPropertyAssocMany<T> extends BeanPropertyAssoc<T> {
if (v instanceof BeanCollection<?>) {
BeanCollection<?> bc = (BeanCollection<?>) v;
return bc.isReference() ? bc : null;
} else if (v != null) {
return null;
} else {
return createReference(parentBean);
}