-->
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: What's the "Outer Join Fetching" & "ANSI&
PostPosted: Wed Aug 17, 2005 4:43 am 
Newbie

Joined: Sun Aug 14, 2005 6:07 am
Posts: 14
Location: China
3.5.2. Outer Join Fetching
If your database supports ANSI or Oracle style outer joins, outer join fetching might increase performance by limiting the number of round trips to and from the database (at the cost of possibly more work performed by the database itself). Outer join fetching allows a graph of objects connected by many-to-one, one-to-many or one-to-one associations to be retrieved in a single SQL SELECT.

By default, the fetched graph ends at leaf objects, collections, objects with proxies, or where circularities occur. For a particular association, fetching may be enabled or disabled (and the default behaviour overridden) by setting the outer-join attribute in the XML mapping. Outer join fetching may be disabled globally by setting the property hibernate.use_outer_join to false. You may limit the maximum depth of the fetched graph of objects using hibernate.max_fetch_depth.



This is what i read in the Hibernate Document,Chapter 3.

There is two question:
1. What's "Outer Join Fetching",Does it mean that "Select * from User U,Trade T where U.user_id = T.user_id" is an outer join fetching?

2. What's "ANSI"?

_________________
Confidence,Persistence & Endurance lead to Success!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 17, 2005 4:49 am 
Senior
Senior

Joined: Thu Aug 04, 2005 4:54 am
Posts: 153
Location: Birmingham, UK
This first link should help you.

The second is even better

And finally


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.