This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Object Relational Mapping and the fly likes Left join query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Left join query" Watch "Left join query" New topic
Author

Left join query

krunal prajapati
Greenhorn

Joined: Apr 18, 2011
Posts: 19

Hello,
I want to make left join using hibernate,
I can make left join using native query in hibernate like


but while I am using HQL I getting error,



and my hbm.xml and java files are shown below

MeIdiomas.hbm.xml



U4Textosussds.hbm.xml



MeIdiomas.java


U4Textosussds.java


Plans.java main method here


Now what I have to do to use HQL?
Thank you in advance,
Krunal
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Left join query