-->
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: ManyToOne Outer Join
PostPosted: Mon Jun 11, 2007 7:43 pm 
Newbie

Joined: Tue Sep 19, 2006 4:48 pm
Posts: 10
The Hibernate Annotations documentation section 2.2.5.5. Association fetching says:

Code:
EAGER will try to use an outer join select to retrieve the associated object...


However, I have a query like this

"from MyEntity where referencedEntity.name = :name"

and the generated sql does not use an outer join for the referenced entity.

Is there a way to force the outer join without specifically specifying the outer join in the eql?


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.