Permalink
Browse files

Document lazy=extra in the collection mapping chapter.

  • Loading branch information...
1 parent 26dac03 commit 88cca0480d41504aaf97c058bb1f8d825ce10411 @oskarb oskarb committed Sep 11, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 doc/reference/modules/collection_mapping.xml
@@ -150,7 +150,7 @@ HashedSet hs = (HashedSet) cat.Kittens; //Error!]]></programlisting>
name="propertyName"
table="table_name"
schema="schema_name"
- lazy="true|false"
+ lazy="true|false|extra"
inverse="true|false"
cascade="all|none|save-update|delete|all-delete-orphan"
sort="unsorted|natural|comparatorClass"
@@ -189,7 +189,8 @@ HashedSet hs = (HashedSet) cat.Kittens; //Error!]]></programlisting>
<para>
<literal>lazy</literal> (optional - defaults to <literal>true</literal>)
may be used to disable lazy fetching and specify that the association
- is always eagerly fetched.
+ is always eagerly fetched. Using <literal>extra</literal> fetches only the
+ elements that are needed - see <xref linkend="performance-fetching"/> for more information.
</para>
</callout>
<callout arearefs="mappingcollection5">

0 comments on commit 88cca04

Please sign in to comment.