[XDoclet-JIRA] Assigned: (XDT-1196) support having individual hbm.xml files for subclasses

"Paul Galbraith (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
     [ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1196?page=all ]

Paul Galbraith reassigned XDT-1196:
-----------------------------------

    Assign To: Paul Galbraith  (was: xdoclet-devel (Use for new issues))

> support having individual hbm.xml files for subclasses
> ------------------------------------------------------
>
>          Key: XDT-1196
>          URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1196
>      Project: XDoclet
>         Type: Improvement

>   Components: Hibernate Module
>     Reporter: Bill Schneider
>     Assignee: Paul Galbraith
>  Attachments: hibernate-child.xdt, hibernate-class.xdt, subclass.patch
>
> Original Estimate: 6 hours
>         Remaining: 6 hours
>
> 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.  

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.