0 Replies Latest reply on Apr 4, 2008 12:19 PM by jmpdesign

    How to use JPA with Hibernate Entity manager

    jmpdesign Newbie


      I am facing a problem, I want to use JPA QL in order to use outer join with on clause (on report query).
      I am using JBOSS and EJB3 so I get entitymanager and I call createQuery method then query.getResultList().
      But entitymanager seems to use HQL and not JPA QL because I have org.hibernate.hql.ast.QuerySyntax exception.

      How can I force to use JPA QL ?