Re: Hibernate plugin and 'entity-name'

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.xdoclet-plugins
Message-ID <[email protected]>
will be commited shortly,

thanks. send more patches ;)


--- Tomasz B³achowicz <[email protected]> wrote:

> Hi,
> 
> I've just created 3 new issues in JIRA:
> 
> http://jira.codehaus.org/browse/XDP-195
> http://jira.codehaus.org/browse/XDP-196
> http://jira.codehaus.org/browse/XDP-197
> 
> I've attached patches that fix the problems. I don't
> have enough time to
> write any tests, I'm sorry.
> 
> Cheers,
> Tom
> 
> On 9/5/06, Konstantin Priblouda
> <kpriblouda-/[email protected]> wrote:
> >
> >
> >
> > --- Tomasz B³achowicz <[email protected]>
> wrote:
> >
> > > Hi all,
> > >
> > > Once I decided to XDoclet2 and Hibernate plugin
> to
> > > generate Hibernate
> > > mapping files. Unfortunately I had some problems
> > > related to 'entity-name'
> > > attribute. Since I use Hibernate 3 I decided to
> > > switch from 'class' to
> > > 'entity-name'. I mean, I refer entities by
> > > entity-name rather that
> > > classname. I really love this idea, because of
> it's
> > > flexibility.
> > >
> > > Hibernate plugin for XDocle2 doesn't support it
> very
> > > well. First of all
> > > there are places where class attribute is
> mandatory,
> > > but in fact it is
> > > optional for Hibernate and I can use
> entinty-name
> > > there. Furthermore it
> > > doesn't render entity-name attribute for
> > > key-many-to-one and key-property
> > > tags at all. It's a serious problem from my
> point of
> > > view.
> >
> > UNfortunately hibernate changes its mappings
> faster
> > than we can follow it...
> >
> > > I've made a number of fixes to your code. Do you
> > > think I should put them in
> > > JIRA? If the problem is known and you are going
> to
> > > address it in other way,
> > > please let me know.
> >
> > The best way it to make patches against curent CVS
> > version of plugins and attach them to JIRA issues.
> >
> > In this case it can be applied quickly and
> snapshot
> > will be uploaded
> > 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
> >
> >
>
-------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support
> web services, security?
> > Get stuff done quickly with pre-integrated
> technology to make your job
> > easier
> > Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
> >
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > xdoclet-plugins-interest mailing list
> > xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> >
> >
-------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support
> web services, security?
> Get stuff done quickly with pre-integrated
> technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1
> based on Apache Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
_______________________________________________
> xdoclet-plugins-interest mailing list
> xdoclet-plugins-interest-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
> 


----[ 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 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.