[ http://thecla.homeftp.net:8380/jira/browse/HIB-38?page=history ]
     
Chad Brandon closed HIB-38:
---------------------------

     Resolution: Fixed
    Fix Version: 3.0RC1

this should be fixed.

> subclass inheritance strategy duplicate attributes
> --------------------------------------------------
>
>          Key: HIB-38
>          URL: http://thecla.homeftp.net:8380/jira/browse/HIB-38
>      Project: Hibernate Cartridge
>         Type: Bug
>     Versions: 3.0M3
>  Environment: windows xp pro - java 5
>     Reporter: Candide Kemmler
>     Assignee: Chad Brandon
>      Fix For: 3.0RC1

>
>
> when subclass inheritance strategy for an entity is chosen, its subclasses 
> get duplicate attributes.
> e.g. in the generated code:
>     // --------------- super attributes ---------------------
>     private java.lang.String id;
>     /**
>      * 
>      *
>      * @hibernate.id
>      *     generator-class="uuid.hex"
>      *     column="ID"
>      *     type="java.lang.String"
>      *
>      * @hibernate.column
>      *     name="ID"
>      *     sql-type="VARCHAR(256)"
>      */
>     public java.lang.String getId()
>     {
>         return this.id;
>     }
>     public void setId(java.lang.String id)
>     {
>         this.id = id;
>     }
>   
>     // ------------- super relations ------------------
> ... and here it comes again:
>     // --------------- attributes ---------------------
>     private java.lang.String id;
>     /**
>      * 
>      *
>      * @hibernate.id
>      *     generator-class="uuid.hex"
>      *     column="ID"
>      *     type="java.lang.String"
>      *
>      * @hibernate.column
>      *     name="ID"
>      *     sql-type="VARCHAR(256)"
>      */
>     public java.lang.String getId()
>     {
>         return this.id;
>     }
>     public void setId(java.lang.String id)
>     {
>         this.id = id;
>     }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://thecla.homeftp.net:8380/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to