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

This commit is contained in:
Strong Liu 2011-03-30 18:55:24 +08:00
parent e521d91dbb
commit f3d00579a8

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