[
http://jira.codehaus.org/browse/XDP-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Pribluda updated XDP-210:
------------------------------------
Fix Version/s: 1.0.4
> 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.4
> Environment: XDoclet2
> Reporter: Alan She
> Fix For: 1.0.4
>
>
> Since Hibernate support putting subclass in a single mapping file, it should
> 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 source
> of A, but it is
> possible that some classes in B (e.g. Student) is a subclass of a class in
> module A (e.g. Person). At this time, putting <subclass> tag in the hbm of
> 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.subclass, @hibernate.joined-subclass and
> @hibernate.union-subclass, and these tags are scaned for generating a hbm
> file if the "extend" attribute is provided.
> While the "extend" attribute is provided, no matter the super class source
> 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:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest