Thanks. I try it with the follow lines:
/**
* @hibernate.list table="teste2" cascade="delete"
* @hibernate.collection-key column="enterprise"
* @hibernate.collection-one-to-many column="teste'
class="adama.supplier.SupplierSegment"
*/
public List getSegments() {
return segments;
}
And got a big:
bernatedoclet] (XDocletMain.start 47 ) Executando
<null/>
[hibernatedoclet] Gerando mapeamentos do Hibernate para
adama.supplier.Enterprise
[hibernatedoclet] adama.supplier.Enterprise
[hibernatedoclet] (TemplateEngine.invokeMethod 541 ) Invoking
method failed:
xdoclet.modules.hibernate.HibernateTagsHandler.roleAttribute, line=3 of
template file:
file:/yard/fluid/xdoclet/modules/hibernate/resources/hibernate-properties.xdt
[hibernatedoclet] java.lang.reflect.InvocationTargetException
[hibernatedoclet] at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Maybe a buggy version os hibernate-module? What is wrong in my code?
Thanks for help. Again. ;)
Konstantin Priblouda wrote:
>
> --- Jim Bruno Goldberg <[EMAIL PROTECTED]>
> wrote:
> > Hi, All!
> >
> > Please, can someone send me a sample to use
> > List or Bag
> > Hibernate with
> > Xdoclet?
> > I try to use it but generates a strange
> > exception on Xdoclet.
> > Thanks.
>
> * @hibernate.collection-key
> column="infobitid"
> * @hibernate.collection-one-to-many
> *
> class="com.infodesire.infobit.dao.VersionImpl"
> * @hibernate.bag
> cascade="delete" lazy="true"
> * order-by="dateMillis"
>
> regards,
>
> =====
> ----[ Konstantin Pribluda ( ko5tik ) ]----------------
> Zu Verst�rkung meines Teams suche ich ab Sofort einen
> Softwareentwickler[In] f�r die Festanstellung.
> Arbeitsort: Mainz
> Skills: Programieren, Kentnisse in OpenSource-Bereich
> ----[ http://www.pribluda.de ]------------------------
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> -------------------------------------------------------
> This SF.net email is sponsored by Dice.com.
> Did you know that Dice has over 25,000 tech jobs available today? From
> careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
> best hiring companies. http://www.dice.com/index.epl?rel_code=104
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
--
CUL8R,[]s
Jim Bruno Goldberg
http://www.md5.com.br
-------------------------------------------------------
This SF.net email is sponsored by Dice.com.
Did you know that Dice has over 25,000 tech jobs available today? From
careers in IT to Engineering to Tech Sales, Dice has tech jobs from the
best hiring companies. http://www.dice.com/index.epl?rel_code4
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user