Oups ... sorry ... I 'm not in the right list !!!

___________________
CREDI RA
Sylvie Palluel

[EMAIL PROTECTED]
___________________


> -----Message d'origine-----
> De : PALLUEL Sylvie [mailto:[EMAIL PROTECTED]]
> Envoyé : lundi 17 février 2003 10:49
> À : 'Tomcat Users List'
> Objet : Castor doclet and ArrayList
> 
> Hello,
> 
> I'm a newbie in Castor. And I'm using  castor doclet to generate my
> mapping
> file. The databases used are mySql and Oracle8i/9i.
> 
> In the doclet's documentation I've found One to One Relationship
example,
> but nothing about One to N.
> 
> My class scapin.donnees.assures.Assure  has an attribute
>   // This is a collection of scapin.donnees.demandes.Demande
>   private java.util.Collection lesDemandes = new ArrayList();
> 
> and the getter/setter methods
> 
>   public Collection  getLesDemandes() {
>     return lesDemandes;
>   }
>   public void  setLesDemandes(Collection lesDemandes) {
>     this.lesDemandes = lesDemandes;
>   }
> 
> Which doclet tags can I use for my attribute ?
> Or have I to manually modify my mapping.xml file (and with which
> informations )  ?
> 
> I have tried this :
>     <field name="lesDemandes" type="scapin.donnees.demandes.Demande"
> collection="collection">
>       <bind-xml name="lesDemandes" />
>     </field>
> 
> How has to be defined my attribute lesDemandes in my database create
> schema
> ?
> 
> 
> Thanks for your help.
> 
> Sylvie.
> ___________________
> CREDI RA
> Sylvie Palluel
> 
> [EMAIL PROTECTED]
> ___________________
> 
> 
> 
> 
> 
> 
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> 
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> 
> www.mimesweeper.com
> **********************************************************************




**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to