24.1.48. @MapsId

<div class="paragraph">

The [`@MapsId`](http://docs.oracle.com/javaee/7/api/javax/persistence/MapsId.html) annotation is used to specify that the entity identifier is mapped by the current annotated `@ManyToOne` or `@OneToOne` association.

</div>
<div class="paragraph">

See the [`@MapsId` mapping](#identifiers-derived-mapsid) section for more info.

</div>
</div>
<div class="sect3">

results matching ""

    No results matching ""