mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-03 03:38:33 +08:00
PL-8769 Collection OneToMany are merged incorrectly by EntityManager
This commit is contained in:
parent
af208df864
commit
3443f3c0fc
@ -327,7 +327,10 @@ public class EntityManagerImpl implements EntityManager {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (srcProperty.getRange().isClass() && metadataTools.isOwningSide(srcProperty)) {
|
||||
if (srcProperty.getRange().isClass() & !metadataTools.isEmbedded(srcProperty)) {
|
||||
if (!metadataTools.isOwningSide(srcProperty))
|
||||
continue;
|
||||
|
||||
Class refClass = srcProperty.getRange().asClass().getJavaClass();
|
||||
if (!metadataTools.isPersistent(refClass))
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user