[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4599) An embeddable class may contain ToOne or ToMany associations

Steve Ebersole (JIRA) noreply at atlassian.com
Wed Feb 3 02:13:29 EST 2010


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

Steve Ebersole commented on HHH-4599:
-------------------------------------

Actually the spec says we do not need to support that either:


2.6 Collections of Embeddable Classes and Basic Types
{quote}
...
An embeddable class (including an embeddable class within another embeddable class) that is contained within an element collection must not contain an element collection, nor may it contain a relationship to an entity other than a many-to-one or one-to-one relationship
{quote}

So basically the spec outlines exactly what we support today in hbm

> An embeddable class may contain ToOne or ToMany associations
> ------------------------------------------------------------
>
>                 Key: HHH-4599
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4599
>             Project: Hibernate Core
>          Issue Type: Sub-task
>          Components: annotations
>            Reporter: Emmanuel Bernard
>             Fix For: 3.5.0-Next
>
>
> We support collections w/in <component/>.  
> However we *do not* within <composite-element/> (collection of components).  I could not glean if that is required based on above.

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