minor changes
git-svn-id: https://svn.jboss.org/repos/hibernate/trunk/Hibernate3/doc@5559 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
c257f520ef
commit
90410d72cd
|
@ -211,16 +211,16 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
|
||||||
</calloutlist>
|
</calloutlist>
|
||||||
</programlistingco>
|
</programlistingco>
|
||||||
|
|
||||||
<para>
|
|
||||||
Collection instances are distinguished in the database by the foreign key of
|
|
||||||
the entity that owns the collection. This foreign key is referred to as the
|
|
||||||
<emphasis>collection key column</emphasis> (or columns) of the collection
|
|
||||||
table. The collection key column is mapped by the <literal><key></literal>
|
|
||||||
element.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Collection foreign keys</title>
|
<title>Collection foreign keys</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Collection instances are distinguished in the database by the foreign key of
|
||||||
|
the entity that owns the collection. This foreign key is referred to as the
|
||||||
|
<emphasis>collection key column</emphasis> (or columns) of the collection
|
||||||
|
table. The collection key column is mapped by the <literal><key></literal>
|
||||||
|
element.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
There may be a nullability constraint on the foreign key column. For most
|
There may be a nullability constraint on the foreign key column. For most
|
||||||
|
@ -237,6 +237,11 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
|
||||||
|
|
||||||
<programlisting><![CDATA[<key column="productSerialNumber" on-delete="cascade"/>]]></programlisting>
|
<programlisting><![CDATA[<key column="productSerialNumber" on-delete="cascade"/>]]></programlisting>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
See the previous chapter for a full definition of the <literal><key></literal>
|
||||||
|
element.
|
||||||
|
</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
|
@ -385,6 +390,7 @@ kittens = cat.getKittens(); // Okay, kittens collection is a Set
|
||||||
length="N"
|
length="N"
|
||||||
precision="N"
|
precision="N"
|
||||||
scale="N"
|
scale="N"
|
||||||
|
not-null="true|false"
|
||||||
unique="true|false"
|
unique="true|false"
|
||||||
/>]]></programlisting>
|
/>]]></programlisting>
|
||||||
<calloutlist>
|
<calloutlist>
|
||||||
|
|
Loading…
Reference in New Issue