File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Left join query
 
Similar Threads
Help with HQL Insert and Joins using Hibernate 3 / JPA
Hibernate - Query Issues With Many-To-One Relationships
Difference in session.createQuery() and session.createSqlQuery()
HQL join returns no results.
null pointer exception