Comment 1 for bug 847607

Revision history for this message
Timo Westkämper (timo-westkamper) wrote :

The JPAQuery uses HQLTemplates by default because we prioritize Hibernate compatibility. For JPA 2 standard compliant JPQL use JPQLTemplates.DEFAULT instead.

e.g.

JPAQuery query = new JPAQuery(entityManager, JPQLTemplates.DEFAULT);