FileDocCategorySizeDatePackage
EmbeddedId.javaAPI DocGlassfish v2 API2656Fri May 04 22:34:06 BST 2007javax.persistence

EmbeddedId

public class EmbeddedId
Is applied to a persistent field or property of an entity class or mapped superclass to denote a composite primary key that is an embeddable class. The embeddable class must be annotated as {@link Embeddable}.
Example:

@EmbeddedId
protected EmployeePK empPK;
since
Java Persistence 1.0

Fields Summary
Constructors Summary
Methods Summary