[hibernate-issues] [Hibernate-JIRA] Updated: (ANN-580) Mistake in "2.2.2.3. Embedded objects (aka components)"

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Apr 15 18:40:04 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz updated ANN-580:
-----------------------------------

    Attachment: entity.xml.patch

> Mistake in "2.2.2.3. Embedded objects (aka components)"
> -------------------------------------------------------
>
>                 Key: ANN-580
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-580
>             Project: Hibernate Annotations
>          Issue Type: Improvement
>          Components: documentation
>            Reporter: Diego Pires Plentz
>         Attachments: entity.xml.patch
>
>
>     @Embedded
>     @AttributeOverrides( {
>             @AttributeOverride(name="city", column = @Column(name="fld_city") ) ** **
>             @AttributeOverride(name="nationality.iso2", column = @Column(name="nat_Iso2") ),
>             @AttributeOverride(name="nationality.name", column = @Column(name="nat_CountryName") )
>             //nationality columns in homeAddress are overridden
>     } )
> Should be
>     @Embedded
>     @AttributeOverrides( {
>             @AttributeOverride(name="city", column = @Column(name="fld_city") ) **, **
>             @AttributeOverride(name="nationality.iso2", column = @Column(name="nat_Iso2") ),
>             @AttributeOverride(name="nationality.name", column = @Column(name="nat_CountryName") )
>             //nationality columns in homeAddress are overridden
>     } )

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