Reports any primary key not declared in a root entity or mapped superclass. The primary key must be defined exactly once in an entity hierarchy (on the entity that is the root of the entity hierarchy or on a mapped superclass of the entity hierarchy).
See JSR 220: Enterprise JavaBeans, Version 3.0, Java Persistence API, ยง2.1.4.
Powered by Hibero
http://www.hibero.com/