Good Day!
I just couldn't find any solution to my problem in the internet and from the posted forums
I have two tables:
User and Tasks
Tasks has 3 foreign Keys (assignedBy, assignedTo, accomplishedBy)
which contain userId from the user table.
How can I map Tasks? Since the one below is not permitted to be contained in one file....
Code:
<many-to-one name="User" class="User" column="assignedBy"/>
</class>
<many-to-one name="User" class="User" column="assignedTo"/>
</class>
<many-to-one name="User" class="User" column="accomplishedBy"/>
</class>
Hopefully someone can help me.