aspose file tools
The moose likes Object Relational Mapping and the fly likes Left join query Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Left join query
 
Similar Threads
null pointer exception
Help with HQL Insert and Joins using Hibernate 3 / JPA
HQL join returns no results.
Difference in session.createQuery() and session.createSqlQuery()
Hibernate - Query Issues With Many-To-One Relationships