Beginner |
|
Joined: Wed Nov 05, 2003 4:38 pm Posts: 29
|
I have an existing database that has two tables Company and Claim.
Company
company_id
....
Claim
claim_id
tier_company_id - foreign key to Company
....
There are no examples in the docs that show any mappings that have different column names (it is assumed Claim would have company_id instead of tier_company_id). This causes confusion on when and where you should put company_id or tier_company_id in the mapping. This is compounded by the documentation for key, index, and element whcih are either short and cryptic or practically non-existent.
Could someone please provide me with an example mapping for the above two tables that has a many-to-one inverse relationship between the two?
|
|