mysql - How to write HQL query for the following SQL Query? -


This is a query to fetch data from two tables

blog

  Select the title, Date: / blockquote> 

and

Inquiries < P>

Thanks for any answers or suggestions in advance! (Select the blog_ title as the title of the blog, the date created from the date of the blog union, select ask_question as the date of inquiry, created as date from the inquiry)

!!

Unions are not supported by hibernate, see

to see an alternative


Comments