The following comment has been added to this issue: Author: Bill Schneider Created: Wed, 15 Dec 2004 3:44 PM Body: I should also give a use case to illustrate why this feature is important:
Suppose you have A.java defined in one module, which gets compiled into a JAR file (with A.hbm.xml). You use that JAR file as a library within another module, where you define B.java which extends A. Now, when you run XDoclet in the second module, B.java is completely ignored. In order to have B.java compiled separately, you would need a way to generate B.hbm.xml independently of its superclass's (A.hbm.xml) descriptor. --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1196?page=comments#action_15450 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1196 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-1196 Summary: support having individual hbm.xml files for subclasses Type: Improvement Status: Open Priority: Major Original Estimate: 6 hours Time Spent: Unknown Remaining: 6 hours Project: XDoclet Components: Hibernate Module Assignee: xdoclet-devel (Use for new issues) Reporter: Bill Schneider Created: Wed, 15 Dec 2004 3:38 PM Updated: Wed, 15 Dec 2004 3:44 PM Description: It would be nice if there were some way to configure XDoclet's Hibernate module to create separate .hbm.xml files for subclasses, as is now permitted by Hibernate. Right now, if you have @hibernate.class in A.java and @hibernate.subclass in B.java, you get a single A.hbm.xml file with a nested <subclass> element inside A's <class> element. Instead, I'd like to get a separate hbm.xml file for B (<hibernate-mapping> <subclass name="B" extends="A" > ...) My company has developed our own *.xdt templates to do exactly that, along with some custom subtasks to point at them, to simplify build.xml. We'd like to see this implemented inside the standrad solution, though, and would like to get feedback on how to proceed. --------------------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel