Hello all,
I have a many-to-may relationship defined as:
<list
name="employees"
table="Employer_employees_Person_employers">
<key column="employers"/>
<index column="employees_index"/>
<many-to-many column="employees" class="test.hbtest.Person"/>
</list >
<list
name="employers"
inverse="true"
table="Employer_employees_Person_employers">
<key column="employees"/>
<index column="employers_index"/>
<many-to-many column="employers" class="test.hbtest.Employer"/>
</list >
When I insert an Employee into the Employer's employee list, the employee list index is updated but not the employee's employer list.
My code automatically insert the employer in the employee list.
So, is it a bug or do I am missing something ?
|