diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal')
-rw-r--r-- | plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOLegacyWrapper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOLegacyWrapper.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOLegacyWrapper.java index 441683e2c2..65e989fdce 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOLegacyWrapper.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/CDOLegacyWrapper.java @@ -194,7 +194,7 @@ public abstract class CDOLegacyWrapper extends CDOObjectWrapper for (EStructuralFeature feature : CDOModelUtil.getAllPersistentFeatures(eClass)) { EReference oppositeReference = ((EStructuralFeature.Internal)feature).getEOpposite(); - if (oppositeReference != null && !oppositeReference.isContainment()) + if (oppositeReference != null && !oppositeReference.isContainment() && EMFUtil.isPersistent(oppositeReference)) { if (feature.isMany()) { |