Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-238 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-238 Summary: hibernate.xdt ignores super class methods Type: Improvement Status: Assigned Priority: Major Time Spent: Unknown Estimate: 0 minutes Project: XDoclet Component: Hibernate Module Versions: 1.2 Beta 2 Assignee: xdoclet-devel (Use for new issues) Reporter: Gavin Saunders Created: Tue, 7 Jan 2003 6:39 PM Updated: Tue, 7 Jan 2003 6:39 PM Description: We would like to use an AbstractDomainObject for domain objects with generic fields as follows: public class AbstractDomainObject { /** * @hibernate.id column="ID" generator-class="seqhilo.long" */ public Long getId() { ... } /** * @hibernate.version column="VERSION" */ public Integer getVersion() { ... } } Then we want to extend this class with more specific fields as follows /** * @hibernate.class table="COUNTRY" */ public class Country extends AbstractDomainObject { /** * @hibernate.property column="NAME" */ public String getName() { ... } etc... } so we don't have to declare the generic fields in every domain object we create. The problem is the current hibernate.xdt file has superclasses="false" set for processing method level tags. e.g. <XDtMethod:forAllMethods superclasses="false" sort="true"> <XDtMethod:ifHasMethodTag tagName="hibernate.id"> etc... We have modified the template to include super classes and it works fine so far but we don't know what the consequences are of doing this are plus we really don't want to maintain it. Does it make sense to do this or are we missing something. If it does make sense we would appreciate it if this feature could find it's way into the release. Thanks Gavin Saunders wotif.com --------------------------------------------------------------------- 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/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
