minor, doc'd mutable for collection, fixed minor doc bugs from HHH-618

git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@7268 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
JongDae Kim 2005-06-22 12:59:40 +00:00
parent 3f688eaadc
commit c10801e7eb
1 changed files with 13 additions and 4 deletions

View File

@ -62,7 +62,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
</sect1>
<sect1 id="collections-mapping" revision="2">
<sect1 id="collections-mapping" revision="3">
<title>콜렉션 매핑들</title>
<para>
@ -99,6 +99,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"
@ -114,6 +115,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"
>
@ -194,16 +196,23 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
<callout arearefs="mappingcollection12">
<para>
<literal>access</literal> (옵션 - 디폴트는 <literal>property</literal>):
Hibernate가 프로퍼티 값에 접근하는데 사용할 방도.
Hibernate가 콜렉션 프로퍼티 값에 접근하는데 사용할 방도.
</para>
</callout>
<callout arearefs="mappingcollection12">
<callout arearefs="mappingcollection13">
<para>
<literal>optimistic-lock</literal> (옵션 - 디폴트는 <literal>true</literal>):
콜렉션의 상태에 대한 변경들이 소유하는 엔티티의 버전의 증가로 귀결될 것인지를 지정한다.
(one to many 연관들에 대해, 이 설정을 사용 불가능하게 하는 것이 종종 합당하다.)
</para>
</callout>
<callout arearefs="mappingcollection14">
<para>
<literal>mutable</literal> (옵션 - 디폴트는 <literal>true</literal>):
<literal>false</literal> 값은 콜렉션의 요소들이 결코 변경되지 않음을 지정한다.
(몇몇 경우들에서 마이너 퍼포먼스 최적화).
</para>
</callout>
</calloutlist>
</programlistingco>
@ -933,7 +942,7 @@ session.persist(category); // The relationship will be saved]]></p
<generator class="sequence"/>
</collection-id>
<key column="PERSON1"/>
<many-to-many column="PERSON2" class="eg.Person" outer-join="true"/>
<many-to-many column="PERSON2" class="Person" fetch="join"/>
</idbag>]]></programlisting>
<para>