Fixed
Details
Assignee
Strong LiuStrong LiuReporter
Brian LavenderBrian LavenderComponents
Fix versions
Affects versions
Priority
Minor
Details
Details
Assignee
Strong Liu
Strong LiuReporter
Brian Lavender
Brian LavenderComponents
Fix versions
Affects versions
Priority
Created March 27, 2011 at 10:32 AM
Updated March 7, 2014 at 10:08 PM
Resolved March 30, 2011 at 1:04 PM
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>