-->
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: Questions about Outer join fetching
PostPosted: Mon Mar 29, 2004 5:29 pm 
Newbie

Joined: Mon Feb 09, 2004 1:40 am
Posts: 13
Location: Moscow, Russia
Hello,

I would like to understand limitations of "Outer join fetching" feature.
When does it work, when not?

Thanks

_________________
God is Real, unless declared as Integer.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 30, 2004 2:39 am 
Newbie

Joined: Mon Mar 22, 2004 5:23 am
Posts: 18
Location: Bangalore
Hi,

Could u be a bit more specific about when u expect the "Outer join fetching" to work??

The outer join fetch, as you might be knowing,is primarily aimed at enabling "eager initialization" of all the relevant objects in a Single SQL
select.

NB: The eager initialization would happen if a fetch clause is used,even when the loading mechanism of the objects is defined "lazy" in the Mapping

thanks
~santosh


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 31, 2004 3:34 pm 
Newbie

Joined: Mon Feb 09, 2004 1:40 am
Posts: 13
Location: Moscow, Russia
Well,

Hibernate 2.1.2 disables outer join fetching:
1. when in map, bag or other collection outer-join attribute is not defined , or it is defined as "auto".
2. when subclass contais association to parent class.
3. when proxy or lazy initialization is defained for assotiation or collection.

To be continued...

_________________
God is Real, unless declared as Integer.


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.