-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: many-to-may list indexes not updated
PostPosted: Wed May 31, 2006 7:17 am 
Newbie

Joined: Wed May 10, 2006 6:04 am
Posts: 4
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 ?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.