Re: Can I generate <subclass> <joined-subclass> in separate mapping files?

"Alan She" <[email protected]> Tue, 19 Dec 2006 16:37:46 +0800
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
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.

2006/12/19, Konstantin Priblouda <kpriblouda-/[email protected]>:
>
>
> --- Alan She <[email protected]> wrote:
>
> > Hi,
> >
> > Can hibernate-plugin generate <subclass>
> > <joined-subclass> in different
> > mapping file instead of integrated in the
> > superclass' mapping file. I think
> > hibernate support this.
> > Thanks.
>
>
> AT the moment this is not supported, and it would not
> be easy to support this.
>
> Why do you need this?
>
> 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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
>

-------------------------------------------------------------------------
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-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest