[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4685?page=c...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira