ObjectDB ObjectDB

MapKeyJoinColumn.referencedColumnName - JPA annotation element

Annotation Element
javax.persistence.MapKeyJoinColumn
String referencedColumnName

(Optional) The name of the column referenced by this foreign key column. The referenced column is in the table of the target entity.

Default (only applies if single join column is being used.) The same name as the primary key column of the referenced table

Default value:
""
Since:
JPA 2.0