You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Alexey Romanov <al...@gmail.com> on 2012/07/17 13:53:25 UTC
Generating foreign key for InheritanceType.JOINED
When using `InheritanceType.JOINED` with a single primary key column, the PK
column of the subclass table is basically a foreign key to the superclass
table as well. But MappingTool doesn't seem to generate these foreign keys
even though I have `ForeignKeyDeleteAction=cascade` in my MappingDefaults.
Can OpenJPA be configured to generate them?
--
View this message in context: http://openjpa.208410.n2.nabble.com/Generating-foreign-key-for-InheritanceType-JOINED-tp7580629.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.