[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4685) Make sure bidirectional @*To* 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=34951#action_34951 ] 

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

Section 11.1.26

The ManyToOne annotation may be used within an embeddable class to specify a relationship from the embeddable class to an entity class. If the relationship is bidirectional, the non-owning OneToMany entity side must use the mappedBy element of the OneToMany annotation to specify the relationship field or property of the embeddable field or property on the owning side of the relationship. 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 @*To* 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