The following comment has been added to this issue: Author: steve weiland Created: Thu, 7 Apr 2005 2:56 AM Body: verified, patch solved w/out any noticable side effects. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-698?page=comments#action_16293
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-698 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-698 Summary: overridden method generates extra property in subclass Type: Bug Status: Open Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: XDoclet Components: Hibernate Module Versions: 1.2 Beta 3 Assignee: xdoclet-devel (Use for new issues) Reporter: Jan Berkel Created: Sun, 2 Nov 2003 7:19 PM Updated: Thu, 7 Apr 2005 2:56 AM Description: /** @hibernate.class */ public class T1 { /** @hibernate.property */ public int getFoo() { return 0; } } /** @hibernate.subclass */ public class T2 extends T1 { public int getFoo() { return 1; } // override method from T1 } this produces: <hibernate-mapping> <class name="T1"> <property name="foo" type="int" ... /> <subclass name="T2"> <property name="foo" type="int" ... /> </subclass> </class> </hibernate-mapping> the property foo gets generated twice, for the base and extending class. There is no @hibernate tag on the overriding method, but it gets generated anyhow. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/xdoclet/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 _______________________________________________ xdoclet-devel mailing list xdoclet-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-devel