-->
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.  [ 3 posts ] 
Author Message
 Post subject: Force collection queries to use INNER JOIN
PostPosted: Tue Jun 19, 2007 4:21 pm 
Newbie

Joined: Thu Jun 14, 2007 11:26 am
Posts: 16
Is there any way to force an eagerly loaded collection to be loaded via an INNER JOIN instead of an OUTER JOIN?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 19, 2007 7:00 pm 
Senior
Senior

Joined: Sat Sep 10, 2005 3:46 pm
Posts: 178
you can with a query but not through the mappings. You do not want to do this in your mappings because it will limit the results to only those entities that have collection values.

inner joins can be specified with hql or a criteria query.


Top
 Profile  
 
 Post subject: reposted
PostPosted: Wed Jan 23, 2008 3:11 pm 
Newbie

Joined: Fri Jan 18, 2008 7:45 pm
Posts: 18
Location: Eugene, OR
I've posted a similar question here:
http://forum.hibernate.org/viewtopic.php?t=983128

_________________
Woil / Will Shaver / http://primedigit.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.