Hello. I am using the reference-descriptor name="super" option for mapping multiple joined tables. I have come across something that I can't figure out though.
The example has Table A with ID and SomeValueFromA. It also has Table B with
ID, aID, SomeValueFromB. It has B as the child A and the reference descriptor
joins B.A_ID to A.ID.
But what if I didn't want to join B to A on the ID? What if I want to join B.some_value_from_A to A.some_value_from_A? Is this possible? Can I have B extend A and be joined on something other than the ID? I changed the:
<foreignkey field-ref="aID" />
to:
<foreignkey field-ref="someValueFromA" />
And it broke everything. :( It tried to map B.someValueFromA to A.ID. How can I get the reference-descriptor to point to a different value on A?
Thanks for the help.
Charlie
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
