Is this mapping not possible? Or anyone who knows how to work around with another mapping association?
Here are my tables from a legacy DB:
Code:
Table A
- zID (pk)
- a lot of properties
Table B
- zID (pk,fk)
- rpID (pk,fk)
- a lot of properties
Table C
- rpID (pk)
- a lot of properties
As you can see, there is a foreign key from B -> A and from B -> C. This is also the compositeKey from B.
I allready know how to map it with mapping files for each table, but i'm looking for a possibility to map only table B with the <join-table> attribute to the other two tables.
Anyone know, if this is possible?
Thanks!