A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate Doubt in HQL
Joined: Mar 11, 2012
Mar 19, 2012 23:21:16
I have an SQL query which is Union of two select statements like
SELECT column_name(s) FROM table_name1
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.
Joined: Oct 21, 2008
Mar 20, 2012 06:06:24
just did a very quick search (hibernate union), and the first four answers were very enlightening.
Joined: Oct 27, 2005
Mar 20, 2012 13:56:07
vinayreddy podduturi wrote:
And its urgent please.
. There is no such thing as urgent around here.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Hibernate Doubt in HQL
subquery sql to hql
get column value from column name
Mixing direct SQL with HQL in the same transaction
Stored Procedure inside HQL query?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015