JPA Annotation Attribute
in javax.persistence.PrimaryKeyJoinColumn

String name default ""


(Optional) The name of the primary key column of the current table.

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).

Since:
JPA 1.0