I would like to model a one-to-one Relationship between 2 classes.
For simplicity I would like to have a single FK in one of the classes only. Unfortunately OJB does not allow the definition of an "inverse-foreign-key" within the reference descriptor.
How do I solve this ? I don't wish to have a List in one of the classes, I prefer the type-safe using a single Object.
If I had 2 fk's what happens upon update on one of the objects ? Which setting do I need to take to ensure consistency of both fks? I.e. update only the other classes fk but leave other fields untouched?
Thanks for any help on this, by the way I am using CVS head.
Cheers S.Schl�sser
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
