--- Alan She <[EMAIL PROTECTED]> wrote:

> I need this because I wish to separate my 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, i don't
> have module A' s code
> 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.
> 
> Any suggestion of work around ??
> Thanks a lot.

Doing this would require some patching of plugin
( so it iterates not only over the top level hibernate
classes, but also various kinds of subclasses, also
make it configurable ) and also templates. 

If you dare to provide a patch (with unit tests), I
can apply this quickly, if not - file an jira issue
and I will look at this when I get time ( or some
other developer ) 

regards,

----[ Konstantin Pribluda http://www.pribluda.de ]----------------
Still using XDoclet 1.x?  XDoclet 2 is released and of production quality.
check it out: http://xdoclet.codehaus.org

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-plugins-interest mailing list
xdoclet-plugins-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest

Reply via email to