I have a reflexive (self) association I’m having some problems with. I have an Account class where 0…1 parent has 0…* children. The code generated is:
protected Account parent;
protected Account[] children;
What I would like is:
protected Account parent;
protected Set children = new HashSet();
But I’m not sure how to model this in the diagram. Any help would be appreciated.
I’m using the trial version of SDE for Eclipse.
Thanks,
JB