24.1.75. @PrimaryKeyJoinColumn
The @PrimaryKeyJoinColumn
annotation is used to specify that the primary key column of the current annotated entity is also a foreign key to some other entity
(e.g. a base class table in a JOINED
inheritance strategy, the primary table in a secondary table mapping, or the parent table in a @OneToOne
relationship).
</div>