doc'd mutable for collection

git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@7223 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Gavin King 2005-06-19 17:25:52 +00:00
parent cd84fb13b0
commit a4adfd9444

View File

@ -74,7 +74,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
</sect1>
<sect1 id="collections-mapping" revision="2">
<sect1 id="collections-mapping" revision="3">
<title>Collection mappings</title>
<para>
@ -114,6 +114,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
<area id="mappingcollection11" coords="12 65"/>
<area id="mappingcollection12" coords="13 65"/>
<area id="mappingcollection13" coords="14 65"/>
<area id="mappingcollection14" coords="15 65"/>
</areaspec>
<programlisting><![CDATA[<map
name="propertyName"
@ -129,6 +130,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
batch-size="N"
access="field|property|ClassName"
optimistic-lock="true|false"
mutable="true|false"
node="element-name|."
embed-xml="true|false"
>
@ -210,7 +212,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
<callout arearefs="mappingcollection12">
<para>
<literal>access</literal> (optional - defaults to <literal>property</literal>): The
strategy Hibernate should use for accessing the property value.
strategy Hibernate should use for accessing the collection property value.
</para>
</callout>
<callout arearefs="mappingcollection12">
@ -221,6 +223,13 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
disable this setting.)
</para>
</callout>
<callout arearefs="mappingcollection13">
<para>
<literal>mutable</literal> (optional - defaults to <literal>true</literal>):
A value of <literal>false</literal> specifies that the elements of the
collection never change (a minor performance optimization in some cases).
</para>
</callout>
</calloutlist>
</programlistingco>