Correct collection mapping example

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14358 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Brian Stansberry 2008-02-25 20:01:17 +00:00
parent 4a30d2b836
commit 58bebf3874
1 changed files with 4 additions and 2 deletions

View File

@ -334,9 +334,11 @@
<programlisting><![CDATA[<class name="org.example.Foo">
<cache usage="transactional"/>
....
<one-to-many name="bars" class="org.example.Bar">
<set name="bars">
<cache usage="transactional" region="foo_region"/>
</one-to-many>
<key column="FOO_ID"/>
<one-to-many class="org.example.Bar"/>
</set>
</class>]]></programlisting>
<para>