JPA Annotation Attributein jakarta.persistence.MapsIdString value default "" (Optional) The name of the attribute within the composite key to which the relationship attribute corresponds. If not explicitly specified, the relationship maps the primary key of the entity. Since:JPA 2.0