Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Reason for: A containment or bidirectional reference must be unique if its upper bound is different
Reason for: A containment or bidirectional reference must be unique if its upper bound is different [message #1846993] Mon, 11 October 2021 14:52
Alain Picard is currently offline Alain PicardFriend
Messages: 266
Registered: July 2009
Senior Member
When trying to apply the recommendations formulated in https://wiki.eclipse.org/CDO/Tweaking_Performance about how to handle uniqueness in containment, the above error is being reported.

Why is that, especially since EObject only support identity equality and if someone knows that they are adding a new EObject, like one that is not yet attached, should that really trigger an error at the model level?

Thanks
Alain

[Updated on: Mon, 11 October 2021 14:52]

Report message to a moderator

Previous Topic:Object name instead of eProxyURI
Next Topic:Improving containment list performance in CDO/EMF
Goto Forum:
  


Current Time: Thu May 02 11:19:06 GMT 2024

Powered by FUDForum. Page generated in 0.02717 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top