Yes, I did. But the return of getProductDetail() is always
ProductDetail[]

:-(

Herv�

> -----Original Message-----
> From: Arnaud Blandin [mailto:[EMAIL PROTECTED]]
> Sent: mardi, 28. ao�t 2001 18:05
> To: [EMAIL PROTECTED]
> Subject: Re: [castor-dev] SourceGenerator and mapping problem
> 
> 
> Hi Herve,
> 
> 
> >     <!-- Product has reference to ProductDetail
> >          many details per product  -->
> >     <field name="ProductDetail"
> > type="com.linkvest.testcastor.ProductDetail" required="true"
> >            collection="vector">
> >       <sql many-key="prod_id"/>
> >       <xml name="detail" node="element" />
> >     </field>
> >   </class>
> > ...
> 
> Have you tried collection="array"?
> 
> Hope this helps,
> 
> Arnaud
> 
> ----------------------------------------------------------- 
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>       unsubscribe castor-dev
> 
> 

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to