hibernate-entitymanager
Related Links
#NaturalId only valid on root entity (or its #MappedSuperclasses), using Natural Id in Joined, Multiple Table Inheritance
Why doesn't createQuery() on the javax.persistence.EntityManager work with upper case attribute?