[ http://jira.codehaus.org/browse/XDP-128?page=comments#action_49471 ] 

Konstantin Pribluda commented on XDP-128:
-----------------------------------------

Can you post more code?   I have the same use case in my model and everything 
works
( and there are numerous test cases in sources  )

> Hibernate property in abstract class not Generated
> --------------------------------------------------
>
>          Key: XDP-128
>          URL: http://jira.codehaus.org/browse/XDP-128
>      Project: XDoclet 2 Plugins
>         Type: Bug
>   Components: hibernate
>     Versions: 1.0.2
>     Reporter: Matthew Ma

>
>
> Hi,
> I have defined a hibernate.property in an abstract class, to be inherited by 
> all implementing classes.
> When generating the hibernate mapping for an inheriting concrete class, the 
> property is not generated.
> Abstract Class:
> public abstract class XXX {
>     /**
>      * @return Returns the name.
>      * @hibernate.property column="NAME"
>      *  length="60" not-null="true"
>      */
>     public String getName() {
>         return name;
>     }
>     public void setName(String name) {
>         this.name = name;
>     }
> }
> Concrete Class that extends the abstract class:
> public class YYY extends XXX {
> }
> The name property is not generated in the resulting YYY.hbm.xml file.
> The same code works fine using xdoclet-1.2.3.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to