Reports any primary key field or property defined as composite with
@EmbeddedId in an entity class annotated with
@IdClass. A composite primary key must correspond to
either a single persistent field or property annotated with @EmbeddedId
or to a set of such fields or properties annotated with @Id used in conjuntion
with the @IdClass annotation.
See JSR 220: Enterprise JavaBeans, Version 3.0, Java Persistence API, ยง2.1.4. |
Powered by Hibero http://www.hibero.com/ |