| Also, you keep saying "valid JPQL" but the first query uses elements which is in fact a Hibernate only construct. Also that particular query uses the path t.peopleAssignments.potentialOwners. Now just based on names, aren't both peopleAssignments and potentialOwners plural-attributes? If so that is illegal in both JPA and Hibernate. |