File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Databases
»
Object Relational Mapping
Author
Hibernate Doubt in HQL
vinayreddy podduturi
Greenhorn
Joined: Mar 11, 2012
Posts: 12
posted
Mar 19, 2012 23:21:16
0
I have an SQL query which is Union of two select statements like
SELECT column_name(s) FROM table_name1
UNION
SELECT column_name(s) FROM table_name2
Then What is the procedure to write same
SQL query in HQL query in hibernates
. Any help will be appreciated. And its urgent please. Thank you.
Wendy Gibbons
Bartender
Joined: Oct 21, 2008
Posts: 1098
I like...
posted
Mar 20, 2012 06:06:24
0
just did a very quick search (hibernate union), and the first four answers were very enlightening.
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19232
I like...
posted
Mar 20, 2012 13:56:07
0
vinayreddy podduturi wrote:
And its urgent please.
Please
EaseUp
. There is no such thing as urgent around here.
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
http://aspose.com/file-tools
subject: Hibernate Doubt in HQL
Similar Threads
get column value from column name
Mixing direct SQL with HQL in the same transaction
Stored Procedure inside HQL query?
subquery sql to hql
OrderBy
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter