Re: [mdr-users] Reordering references
Martin Matula <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.mdr.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Olivier, Olivier RICHAUD wrote: > I'm trying to reorder an ordered association end. I mean, I want to > move, for example, a referenced object at the beginning of the > relation. This works fine, unless I define a composite association. In > that case, since I'm forced to first remove the object I want to move > from the association, MDR considers that object as deleted. This should not be the case - it is perfectly OK to remove an object from a composite association. Unless you call refDelete() on that object or on its composite, the object should not be deleted. So, it looks like there is some bug in your code, or maybe in MDR. I doubt the bug is in MDR since we use removing and adding stuff from/to composite relationships all the time and it always worked well. Regards, Martin