A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course 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:
how to use UNION function in HQL?
subquery sql to hql
Hibernate Doubt in HQL
hibernate delete performance
Does HQL support UNION (or INTERSECT)?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015