Fast Object Database for Java - with JPA/JDO support

PrimaryKeyJoinColumn.referencedColumnName - JPA annotation element

Annotation Element
javax.persistence.PrimaryKeyJoinColumn
String referencedColumnName

(Optional) The name of the primary key column of the table being joined to.

Defaults to the same name as the primary key column of the primary table of the superclass (JOINED mapping strategy); the same name as the primary key column of the primary table (SecondaryTable mapping); or the same name as the primary key column for the table for the referencing entity (OneToOne mapping).

Default value:
""
Since:
JPA 1.0