[ http://jira.codehaus.org/browse/XDP-128?page=all ]
Konstantin Pribluda closed XDP-128.
-----------------------------------
Assignee: Konstantin Pribluda
> Hibernate property in abstract class not Generated
> --------------------------------------------------
>
> Key: XDP-128
> URL: http://jira.codehaus.org/browse/XDP-128
> Project: XDoclet 2 Plugins
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 1.0.2
> Reporter: Matthew Ma
> Assigned To: Konstantin Pribluda
>
> 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
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest