Joined: Fri Feb 23, 2007 7:13 pm Posts: 3
|
Hello...
I have a problem with composite-id..
I have 2 tables. Each one having a composite primary key.
The first composed-primary key is made with two columns and the second one
is formed with the 2 columns of the first primary key plus 2 others columns.
| Table 1 | | Table 2 |
| | <====| |
|composite-id | | composite-id |
| pk1 | pk2 | |pk1|pk2|pk3|pk4|
How can I map this association????
I have tried something like <many-to-one>, <one-to-many> but it doesn't work.
Same think with <key-many-to-one>... I am trying to use it on several columns....
How can I use those tag???
Help me please.... thank you.
Frederic
|
|