be more explicit in explanation of <join>
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@5736 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
1d0212fee7
commit
2d13026078
|
@ -2194,9 +2194,14 @@
|
||||||
<callout arearefs="join4">
|
<callout arearefs="join4">
|
||||||
<para>
|
<para>
|
||||||
<literal>fetch</literal> (optional - defaults to <literal>join</literal>):
|
<literal>fetch</literal> (optional - defaults to <literal>join</literal>):
|
||||||
If set to <literal>select</literal> for a join defined on a subclass, then rather
|
If set to <literal>join</literal>, the default, Hibernate will use an inner join
|
||||||
than joining, a sequential select will be issued only if a row turns out to represent
|
to retrieve a <literal><join></literal> defined by a class or its superclasses
|
||||||
an instance of the subclass.
|
and an outer join for a <literal><join></literal> defined by a subclass.
|
||||||
|
If set to <literal>select</literal> then Hibernate will use a sequential select for
|
||||||
|
a <literal><join></literal> defined on a subclass, which will be issued only
|
||||||
|
if a row turns out to represent an instance of the subclass. Inner joins will still
|
||||||
|
be used to retrieve a <literal><join></literal> defined by the class and its
|
||||||
|
superclasses.
|
||||||
</para>
|
</para>
|
||||||
</callout>
|
</callout>
|
||||||
<callout arearefs="join5">
|
<callout arearefs="join5">
|
||||||
|
@ -2210,7 +2215,7 @@
|
||||||
<para>
|
<para>
|
||||||
<literal>optional</literal> (optional - defaults to <literal>false</literal>):
|
<literal>optional</literal> (optional - defaults to <literal>false</literal>):
|
||||||
If enabled, Hibernate will insert a row only if the properties defined by this
|
If enabled, Hibernate will insert a row only if the properties defined by this
|
||||||
join are non-null .
|
join are non-null and will always use an outer join to retrieve the properties.
|
||||||
</para>
|
</para>
|
||||||
</callout>
|
</callout>
|
||||||
</calloutlist>
|
</calloutlist>
|
||||||
|
|
Loading…
Reference in New Issue