Compound Primary Key in InheritanceType.JOINEDhttps://www.eclipse.org/forums/index.php/mv/msg/202114/645842/#msg_645842
Say classes Parent1 and Parent2 have a many-to-many association of class AssocA. And we wish to use JOINED inheritance (awkward sure, but this is legacy).

I have the same problem with or without Id/EmbeddedId classes, so the example shows them without.

Note that there is no problem using the other inheritance strategies. Of specific interest is that eclipselink DOES recognize the compound primary key for AssocB with TABLE_PER_CLASS inheritance.]]>Rich MacDonald2010-12-20T18:45:53-00:00Re: Compound Primary Key in InheritanceType.JOINEDhttps://www.eclipse.org/forums/index.php/mv/msg/202114/647116/#msg_647116
As a workaround you can use a script to define your DDL.
]]>James Sutherland2011-01-04T16:27:57-00:00