-->
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.  [ 2 posts ] 
Author Message
 Post subject: Outer Joins using HQL
PostPosted: Tue Nov 07, 2006 5:42 am 
Senior
Senior

Joined: Sat Nov 27, 2004 4:13 am
Posts: 137
is there any way to have an outer join in HQL between entities that are not related to each other within mappings?

I can do following for inner joins
Code:
select e1, e2
from Entity1 e1, Entity2 e2
where e1.prop1 = e2.prop2

_________________
don't forget to credit!

Amir Pashazadeh
Payeshgaran MT
پايشگران مديريت طرح
http://www.payeshgaran.co
http://www.payeshgaran.org
http://www.payeshgaran.net


Top
 Profile  
 
 Post subject:
PostPosted: Tue Nov 07, 2006 6:02 am 
Newbie

Joined: Tue Sep 19, 2006 4:13 am
Posts: 18
I dont think so.
How can Hibernate be aware of the entities which you dont bind to it .


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

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.