[XDoclet-JIRA] Commented: (XDT-416) Problem with Hibernate subclass
"Juan Gil (JIRA)" <[email protected]>
| Newsgroups | gmane.comp.java.xdoclet.devel |
|---|---|
| Message-ID | <[email protected]> |
[ http://opensource.atlassian.com/projects/xdoclet/browse/XDT-416?page=comments#action_17277 ]
Juan Gil commented on XDT-416:
------------------------------
Add this block before the last line in files hibernate-joined-subclass.xdt and hibernate-subclass.xdt just before the last line. This way process all the subclasses though they don't have tags.
<XDtClass:ifDoesntHaveClassTag tagName="hibernate.joined-subclass">
<XDtMerge:merge file="xdoclet/modules/hibernate/resources/hibernate-joined-subclass.xdt">
</XDtMerge:merge>
</XDtClass:ifDoesntHaveClassTag>
This way the problem is solved.
> Problem with Hibernate subclass
> -------------------------------
>
> Key: XDT-416
> URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-416
> Project: XDoclet
> Type: Bug
> Components: Hibernate Module
> Reporter: Benoit Menendez
> Assignee: xdoclet-devel (Use for new issues)
>
> Original Estimate: 0 minutes
> Remaining: 0 minutes
>
> I have class A defined as @hibernate.class, then class B extends A which add some behavior, then class C extends B which is defined as @hibernate.subclass...
> The subclass definition is not generated since C does not immediately extends A
--
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
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php