Hi, one of my setXXXVO(METHOD) is not working correctly. This method is setCompanyVO(CompanyVO companyVO). Specifically, the properties that are not being set are CompanyPhoneVO and CompanyEmailVO. Here's my Company Bean wich has the relations to CompanyPhone and CompanyEmail (NOTE that they are composed type). I'll only post the relation to CompanyPhone, but the relation to CompanyEmail is EXACTLY the same.
/** * * Returns the phone numbers of the company * * @return <code>java.util.Collection</code> the phone numbers * * @ejb.interface-method * view-type="local" * * @ejb.relation * name="Company-PhoneNumber" * role-name="Company-has-PhoneNumber" * target-ejb="CompanyPhone" * target-role-name="PhoneNumber-is-from-Company" * target-cascade-delete="yes" * * @jboss.target-relation * fk-column="COMPANY_ID" * related-pk-field="companyID" * * @ejb.value-object * compose-name="CompanyPhone" * compose="ltcmelo.valueobjects.CompanyPhoneVO" * members-name="CompanyPhone" * members="ltcmelo.localinterface.CompanyPhoneLocal" * relation="external" * type="java.util.Collection" * * */ public abstract Collection getPhones(); /** * * Sets the phone numbers of the company * * @param <code>java.util.Collection</code> phones * * @ejb.interface-method * view-type="local" * */ public abstract void setPhones(Collection phones); So, i have in my Session Façade the method public void updateCompanyInfo(CompanyVO companyVO, ...) which basically does this: public void updateCompanyInfo(CompanyVO companyVO, ...) //... companyLocal = companyLocalHome.findByPrimaryKey(companyVO.getCompanyID()); companyLocal.setCompanyVO(companyVO); //... The companyVO object that i'm passing as an argument is totally populated, it has among other fields, the Collections of phones and emails. This Collections are set by the Façade's client in the following way. companyVO.setCompanyPhones(phones); companyVO.setCompanyEmails(emails); The Collections phones and emails are populated with CompanyPhoneVOs and CompanyEmailVOs. So, does anyone know why is my code not working??? Thank you very much, ltcmelo ===== beginner ______________________________________________________________________ Yahoo! Mail - agora com 100MB de espaço, anti-spam e antivírus grátis! http://br.info.mail.yahoo.com/ ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user