-->
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.  [ 6 posts ] 
Author Message
 Post subject: Does Hibernate Support union hql query
PostPosted: Mon Sep 10, 2007 1:25 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
Hi All,

Does Hibernate Support union hql query ? If anyOne knows, please reply.


Thanks,
Gopal


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 2:07 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
HI Gopal,
As for as I know .It dose not.

_________________
Dharmendra Pandey


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 2:12 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
dharmendra.pandey wrote:
HI Gopal,
As for as I know .It dose not.


Thanks Dharmendra,

If This doesn't support a union query. then wat is another option for doing same thing in Hibernate ?

Thanks,
Gopal


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 2:22 am 
Expert
Expert

Joined: Tue Jan 30, 2007 12:45 am
Posts: 283
Location: India
Do it by java .Its Nasty but no other choice .So it is recommended not to design in such a way

_________________
Dharmendra Pandey


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 3:11 am 
Newbie

Joined: Fri Sep 07, 2007 4:16 am
Posts: 16
gopal.knoah wrote:
dharmendra.pandey wrote:
HI Gopal,
As for as I know .It dose not.


Thanks Dharmendra,

If This doesn't support a union query. then wat is another option for doing same thing in Hibernate ?

Thanks,
Gopal


Do it extend Dialect and using SQLFunctionTemplate.

rate me!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 10, 2007 5:33 am 
Regular
Regular

Joined: Mon Apr 02, 2007 3:54 am
Posts: 67
Location: Hyderabad
dilembus wrote:
gopal.knoah wrote:
dharmendra.pandey wrote:
HI Gopal,
As for as I know .It dose not.


Thanks Dharmendra,

If This doesn't support a union query. then wat is another option for doing same thing in Hibernate ?

Thanks,
Gopal


Do it extend Dialect and using SQLFunctionTemplate.

rate me!


Hi Dilembus,

I didn't get you. I am using dialect for SQL Server. What are you asking ? Be clear with your question.

Thanks,
Gopal


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 6 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.