[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to use JPA with Hibernate Entity manager

jmpdesign do-not-reply at jboss.com
Fri Apr 4 12:19:08 EDT 2008


Hi,

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 ?

Regards,

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141700#4141700

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4141700



More information about the jboss-user mailing list