HHH-6057 documentation, hibernate.cfg.xml references wrong hbm path

This commit is contained in:
Strong Liu 2011-03-30 18:58:08 +08:00
parent 05f9bdcbb0
commit 8a7d14203d
1 changed files with 2 additions and 2 deletions

View File

@ -921,8 +921,8 @@ public class Person {
Finally, add the new mapping to Hibernate's configuration:
</para>
<programlisting role="XML"><![CDATA[<mapping resource="events/Event.hbm.xml"/>
<mapping resource="events/Person.hbm.xml"/>]]></programlisting>
<programlisting role="XML"><![CDATA[<mapping resource="org/hibernate/tutorial/domain/Event.hbm.xml"/>
<mapping resource="org/hibernate/tutorial/domain/Person.hbm.xml"/>]]></programlisting>
<para>
Create an association between these two entities. Persons