Dear all,
I've been trying to establish a self-reference (many-to-many) via a join table for many days, but still don't manage to achieve it. However, my problem seems to be pretty simple and common.
I have a class (let's say group) which contains a set<group> property. At the end of the day I would like to obtain a table named group and a join table which establish the correspondence between two groups (group 1 is associated to group 2, group 1 is associated to group 3 and so one).
Does anyone have a hint to help me design my mapping files ?
Thank you in advance.
|