Joined: Wed Feb 11, 2004 6:04 pm Posts: 11 Location: Houston
|
After browsing around on the froum I have found lots of people having this problem but no clear example.
Suppose I have a Parent and Child in classic one-to-many and many-to-one relation. The relation is NOT using the same column name. So, how do I specify the one-to-many block in the parent mapping file and how the many-to-one in the child mapping file ?
Do I need to use propety-ref ?
Let's say the Parent's PARENT_ID maps to the childs CHILD_ID and visa versa.
B-)
_________________ B-)
|
|