On 2/27/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
>
> 2006/2/27, Akbarr <[EMAIL PROTECTED]>:
>
> > No, the query is in just 1 line:
> >
> > /**
> >  * @hibernate.class table="I18N_Textos"
> >  *
> >  * @hibernate.query name="getTextoI18N" query="from I18NTextos i where
> i.locale=:locale and i.texto=:texto"
> >  *
> >  */
> >
> > The generated XML is:
> >
> >   <query name="getTextoI18N">
> >     <representation/><![CDATA[from I18NTextos i where i.locale=:localeand
> i.texto=:texto]]>
> >   </query>
> >
> > (the "representation" node raises an error)
>
> Hi,
>
> This is a bug, which I've come across, too. I once checked out the
> sources of plugin-hibernate to fix it, but was unable to find some
> spare time to do it actually.


It's a bug of maven2-xdoclet2-plugin, or either
xdoclet-plugin-hibernate?. And is it registered in Jira?. I can't believe no
query can't be created, but it doesn't work in any version!

Andrés

Reply via email to