[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6058) Error in mapping file in Event.hbm.xml file for documentation in download

Brian Lavender (JIRA) noreply at atlassian.com
Sun Mar 27 04:33:08 EDT 2011


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
            Priority: Minor


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.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list