mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user