Extra Primary Key Join Column [message #616002] |
Thu, 27 March 2008 02:46 |
Eclipse User |
|
|
|
Originally posted by: pavata.vsp.com
Hi,
I am having an issue related to Primary key join column in an inheritance
strategy "JOINED". There is a custom join column mapping using
@PrimaryKeyJoinColumn(name="MyColumnName") between a parent class and sub
class. But teneo code recognizes the parent class and adds another primary
key join column based on the annotaton @Id and the generated name is a
combination of ParentClassName_ColumnNameofIDColumn and gets truncated by
ClassicSQLNameStrategy (specific class the is performing this functionality
is . So I am ending up with two primary key join columns.
Can you guide me if there is an option by which I can stop this this extra
primary key join column getting added.
Thanks!!
- Pavan
|
|
|
Powered by
FUDForum. Page generated in 0.02808 seconds