Esta es la solución que estaba buscando: @Embeddable public class SolicitudGUCId implements Serializable { @Column(name = "IDPEDIDO", insertable = false, updatable = false) @Size(max = 36) private String idPedido; @Column(name = "IDLINEA", precision = 10, scale = 0, insertable = false, updatable = false) private long idLinea; ... } @Entity @Table(name = "TRIISOLIDGUCDET") public class SolicitudGUCDetalle implements Serializable { @EmbeddedId private SolicitudGUCId id; @OneToOne(fetch = FetchType.LAZY, mappedBy = "solicitudGUCDetalle") private SolicitudGUCEnvio solicitudGUCEnvio; ... } @Entity @Table(name = "TRIISOLIDGUCENV") public class SolicitudGUCEnvio implements Serializable { @EmbeddedId private SolicitudGUCId id; @OneToOne(fetch = FetchType.LAZY) @JoinColumns({ @JoinColumn(name = "IDLINEA", referencedColumnName = "IDLINEA"), @JoinColumn(name = "IDPEDIDO", referencedColumnName = "IDPEDIDO")}) @MapsId private SolicitudGUCDetalle solicitudGUCDetalle; ... } En las especificaciones de JPA se indica que se debe de usar de esta forma. [JPA 2.2 spec][1] - Pagina 38. ("Note that the use of PrimaryKeyJoinColumn instead of MapsId would result in the same mapping in this example. Use of MapsId is preferred for the mapping of derived identities.") [1]: https://github.com/javaee/jpa-spec/blob/master/jsr338-MR/JavaPersistence.pdf