[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6058?page=c...
]
Strong Liu resolved HHH-6058.
-----------------------------
Assignee: Strong Liu
Resolution: Fixed
Fix Version/s: 4.0.0.Alpha2
Error in mapping file in Event.hbm.xml file for documentation in
download
-------------------------------------------------------------------------
Key: HHH-6058
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6058
Project: Hibernate Core
Issue Type: Bug
Components: documentation
Affects Versions: 3.6.2
Environment: download of 3.6.2 .zip or .tar.gz file
hibernate-distribution-3.6.2.Final/documentation/manual/en-US
Reporter: Brian Lavender
Assignee: Strong Liu
Priority: Minor
Fix For: 3.6.3, 4.0.0.Alpha2
1.2.5. Bi-directional associations
The following addition to Event.hbm.xml file references the package "events"
which does not exist in this version of the tutorial.
The following:
Now map this side of the association in Event.hbm.xml.
<set name="participants" table="PERSON_EVENT"
inverse="true">
<key column="EVENT_ID"/>
<many-to-many column="PERSON_ID" class="events.Person"/>
</set>
should read:
Now map this side of the association in Event.hbm.xml.
<set name="participants" table="PERSON_EVENT"
inverse="true">
<key column="EVENT_ID"/>
<many-to-many column="PERSON_ID" class="Person"/>
</set>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira