File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes Does HQL support UNION (or INTERSECT)? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Does HQL support UNION (or INTERSECT)?" Watch "Does HQL support UNION (or INTERSECT)?" New topic

Does HQL support UNION (or INTERSECT)?

Ram Mandavkar

Joined: Mar 23, 2009
Posts: 16
Hello All,

I want to use UNION in hibernate
Does HQL support UNION (or INTERSECT)?

Any one know about this.
Which version of Hibernate supports UNION / INTERSECT

Ram Mandavkar
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

No. See here to track its possible support.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I agree. Here's the link:
subject: Does HQL support UNION (or INTERSECT)?
It's not a secret anymore!