[jira] Updated: (XDP-210) Generating subclass in a single file, even super class source code is not avaliable

GrĂ©gory Joseph (JIRA) <jira-yCVjj/[email protected]> Fri, 26 Mar 2010 09:52:23 -0500 (CDT)
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <24010469.12067.1269615143752.JavaMail.haus-jira@codehaus01.managed.contegix.com>
     [ http://jira.codehaus.org/browse/XDP-210?page=3Dcom.atlassian.jira.pl=
ugin.system.issuetabpanels:all-tabpanel ]

Gr=E9gory Joseph updated XDP-210:
-------------------------------

    Fix Version/s:     (was: 1.0.5)
                   1.0.6

> Generating subclass in a single file, even super class source code is not=
 avaliable
> -------------------------------------------------------------------------=
----------
>
>                 Key: XDP-210
>                 URL: http://jira.codehaus.org/browse/XDP-210
>             Project: XDoclet 2 Plugins
>          Issue Type: New Feature
>          Components: hibernate
>    Affects Versions: 1.0.5
>         Environment: XDoclet2
>            Reporter: Alan She
>             Fix For: 1.0.6
>
>
> Since Hibernate support putting subclass in a single mapping file, it sho=
uld better be supported in plugin-hibernate.
> A typical use case is separating a system into several modules.
> While developers of 'module B' do not need to see the code of 'module A' =
even B depends A.
> When it comes to generating the hbm files. 'Module B' don't have the sour=
ce of A, but it is
> possible that some classes in B (e.g. Student) is a subclass of a class i=
n module A (e.g. Person). At this time, putting <subclass> tag in the hbm o=
f Person does not make sense (and impossible, because it don't have module =
A' s source now).
> It is obvisously that in this case we should use a single hbm file which =
define the subclass Student and put this in module B.
> Therefore, it is suggested that add a "extend" attribute for @hibernate.s=
ubclass, @hibernate.joined-subclass and @hibernate.union-subclass, and thes=
e tags are scaned for generating a hbm file if the "extend" attribute is pr=
ovided.
> While the "extend" attribute is provided, no matter the super class sourc=
e file in or not in the fileset, a hbm file can be generated.

-- =

This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: htt=
p://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       =


---------------------------------------------------------------------------=
---
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev