Union on JPAQuery

508 views
Skip to first unread message

timowest

unread,
Sep 27, 2011, 7:08:40 AM9/27/11
to quer...@googlegroups.com
Hi,

I found some examples on how to do unions with SQLQueryImpl.
Is this also possible for JPAQuery?

Regards,
Ricardo

timowest

No, because UNION is not supported in JPQL / HQL.

Querydsl JPA uses single string JPQL queries for query execution, so the expressiveness of Querydsl JPA is restricted by the possibilities of JPQL.
Reply all
Reply to author
Forward
0 new messages