openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Romanov <alexey.v.roma...@gmail.com>
Subject Generating foreign key for InheritanceType.JOINED
Date Tue, 17 Jul 2012 11:53:25 GMT
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.

Mime
View raw message