ObjectDB ObjectDB

PrimaryKeyJoinColumn.name - JPA annotation element

Annotation Element
javax.persistence.PrimaryKeyJoinColumn
String name

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

Default value:
""
Since:
JPA 1.0