-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: WorkAround for UNION in HQL ??
PostPosted: Mon Dec 04, 2006 6:19 am 
Newbie

Joined: Thu Nov 23, 2006 1:42 am
Posts: 5
Is thr any work around for UNION of SQL Queries in HQL ??
Union is not supported by HQL. So what to do ?


Please help.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 11:54 am 
Regular
Regular

Joined: Wed Mar 23, 2005 8:43 am
Posts: 105
Location: Moscow, Russia
You always can use Hibernate's custom sql support.

_________________
Best Regards


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 04, 2006 1:48 pm 
Beginner
Beginner

Joined: Thu Oct 12, 2006 6:19 pm
Posts: 34
Location: Guatemala
Hi to @ll. from http://www.hibernate.org/117.html#A21 :
Quote:
Does HQL support UNION (or INTERSECT)?

Not at this time. You may use a native SQL query for this.

_________________
God is Love


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.