Hi all,

I am having a problem with storing multiple relationships. Here is a
description of the problem.

I have 3 objects as follows

Object A has a collection of C objects
Object B also has a collection of C objects
Object C has a reference to both an A and a B object.

Now, I create the objects and add one instance of a particular C object to
both my A and B objects and set all the appropriate references.

If i now proceed to add the A object to the databse, Casotr creates all the
objects as appropriate. Unfortunatly, while the foreign key feild for the A
object in C has been populated successfully, there is no reference to the B
object. The reverse occurs if I add the B object to the database instead.

Any thoughts?

Thanks,
Mark.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to