Embedded ID annotation

Use the @EmbeddedId annotation with the @Embeddable annotation to move the definition of a composite key inside the entity.

The @Embeddable annotation is used to model persistent objects that have no identity of their own, because they are nested inside another entity.

Icon that indicates the type of topic Concept topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: c_embeddedid_annotation.html