-->
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.  [ 2 posts ] 
Author Message
 Post subject: Subquery in FROM clause.. Not Supported. What to do?
PostPosted: Sun Dec 10, 2006 3:22 am 
Newbie

Joined: Thu Nov 23, 2006 1:42 am
Posts: 5
I need to use subquery in the FROM part.

Like,


select * from (select * from table1 union select * from table2)


What to do ?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 10, 2006 2:36 pm 
Senior
Senior

Joined: Sun Jun 04, 2006 1:58 am
Posts: 136
I dont think you can do subselects in from clause, did you try using hibernate's sqlquery feature...??

_________________
Don't forget to rate


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