Bugs item #514022, was opened at 2002-02-06 15:24 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=514022&group_id=31602
>Category: ejbdoclet >Group: cvs Status: Open Resolution: None Priority: 5 Submitted By: Matt (mpetteys) Assigned to: Nobody/Anonymous (nobody) Summary: EJB:Relationships Initial Comment: When the ejb-jar.xml for EJB relationships is created, the relationships point at the same bean. I am getting relationships like this. Note how the element, relationship-role-source, in the second ejb- relationship-role element should reference the bean, UserAccount, not CompanyAccount. In other words, in terms of how the code refers to relationships as left and right ... right hand side bean name is being put as the relationship-role-source for both relationships. <ejb-relation> <ejb-relation-name>User-Is-Member-Of-Company</ejb- relation-name> <!-- bidirectional --> <ejb-relationship-role> <ejb-relationship-role-name>company-has-users</ejb- relationship-role-name> <multiplicity>One</multiplicity> <relationship-role-source> <ejb-name>CompanyAccount</ejb-name> </relationship-role-source> <cmr-field> <cmr-field-name>userAccounts</cmr-field-name> <cmr-field-type>java.util.Collection</cmr-field- type> </cmr-field> </ejb-relationship-role> <ejb-relationship-role> <ejb-relationship-role-name>user-belongsto- company</ejb-relationship-role-name> <multiplicity>Many</multiplicity> <relationship-role-source> <ejb-name>CompanyAccount</ejb-name> </relationship-role-source> <cmr-field> <cmr-field-name>companyAccount</cmr-field-name> </cmr-field> </ejb-relationship-role> </ejb-relation> ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=402704&aid=514022&group_id=31602 _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
