Reports any root entity class not having defined a primary key. The primary key must be defined 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/