File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate Doubt in HQL

 
vinayreddy podduturi
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1107
Eclipse IDE Oracle VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just did a very quick search (hibernate union), and the first four answers were very enlightening.
 
Rob Spoor
Sheriff
Pie
Posts: 20368
43
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
vinayreddy podduturi wrote:And its urgent please.

Please EaseUp. There is no such thing as urgent around here.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic