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:
parent
4a30d2b836
commit
58bebf3874
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue