File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
Object Relational Mapping
Joined: Nov 14, 2003
Mar 02, 2006 01:02:00
Can some one pl tell me what is HQL equivalent of a UNION.
I want to do UNION of 2 select queries how shouls i do it in HQL?
Joined: Apr 14, 2004
Mar 02, 2006 02:12:00
There isn't an equivalent. You could use a SQL query to achieve it though. Or just use two queries.
[ March 02, 2006: Message edited by: Paul Sturrock ]
I agree. Here's the link:
Hibernate Doubt in HQL
Does HQL support UNION (or INTERSECT)?
hibernate delete performance
subquery sql to hql
how to use UNION function in HQL?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014