JPA Specification version 2.0
Section 2.11.2 : Mapped Superclasses
    "A mapped superclass, unlike an entity, is not queryable and must not be
passed as an argument to
EntityManager or Query operations"

  Consider using an abstract class instead.



-----
Pinaki Poddar
Chair, Apache OpenJPA Project
--
View this message in context: 
http://openjpa.208410.n2.nabble.com/CriteriaQuery-on-mapped-superclass-does-not-work-with-orm-xml-tp7583185p7583260.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to