[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4685) Make sure bidirectional @*ToMany works from an embedded object to another entity

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Dec 14 11:57:08 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34950#action_34950 ] 

Emmanuel Bernard commented on HHH-4685:
---------------------------------------

Section 11.1.25

The ManyToMany annotation may be used within an embeddable class contained within an entity class to specify a relationship to a collection of entities[101]. If the relationship is bidirectional and the entity containing the embeddable class is the owner of the relationship, the non-owning side must use the mappedBy element of the ManyToMany annotation to specify the relationship field or property of the embeddable class. The dot (".") notation syntax must be used in the mappedBy element to indicate the relationship attribute within the embedded attribute. The value of each identifier used with the dot notation is the name of the respective embedded field or property.

> Make sure bidirectional @*ToMany works from an embedded object to another entity
> --------------------------------------------------------------------------------
>
>                 Key: HHH-4685
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4685
>             Project: Hibernate Core
>          Issue Type: Sub-task
>          Components: annotations
>            Reporter: Emmanuel Bernard
>


-- 
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