Hi Shawn,
 
This an example of mapping file :
 
<class name="pack3.lE"   identity="leOid">
   <field name="leOid" >
           <bind-xml node="attribute"/>
   </field>        
</class>      
 
 <class name="pack3.aG"  >
       <field name="refLe" type="pack3.lE" >  
              <bind-xml reference="true" node="attribute"/>
       </field>    
</class>    
 
--Jerome
-----M essage d'origine-----
De : Arvin, Shawn POP/Exch) [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 14 avril 2004 21:32
À : '[EMAIL PROTECTED]'
Objet : [castor-dev] Using the reference attribute for xml mapping

 

Hi,

I am using the xml mapping and trying to figure out how the "identity" and "reference" attributes are supposed to be used in a mapping file?

 

Thanks,

 

Shawn

Reply via email to