Joined: Thu Apr 14, 2005 3:28 am Posts: 7 Location: Moscow, Russia
|
Hi,
B extends A.
C has one-to-many assosiation to the B.
If I use joined-subclass for A and B then foreign key appears in the B's table. It's correct.
But if I use subclass and join (table per subclass with discriminator) then foreign key appears in the A's table.
The last one confuse me, because if I make many-to-one assosiation in B to the C (that makes assosiation bidirectional) the foreign key appears in the B's table.
Is it a bug or misuse?
Thanks
|
|