This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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
 
Similar Threads
null pointer exception
Difference in session.createQuery() and session.createSqlQuery()
Hibernate - Query Issues With Many-To-One Relationships
HQL join returns no results.
Help with HQL Insert and Joins using Hibernate 3 / JPA