These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Regrading left oute rjoin
PostPosted: Wed Aug 16, 2006 4:34 am 
Beginner
Beginner

Joined: Thu Jul 13, 2006 10:39 am
Posts: 23
Hi all,

How will I use left outer join in Hibernate?

I have one sample sql query

String sqlQuery="select ele.*,sub.submission_no,stu.*"
+" from element_data ele, submission sub,study_data stu"
+" where ele.submission_id=sub.submission_id"
+" and ele.study_id=stu.study_id(+)"
+" and ele.submission_id IN (select submission_id"
+" from submission s,application a"
+" where s.application_id=a.application_id "
+" and a.application_name='"+application_name+"' )";

Could anyoone give me sample hql query using left outer join for the
same.

Regards,
Sreekanth


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.