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: Pending >Resolution: Fixed Priority: 5 Submitted By: Matt (mpetteys) >Assigned to: David Budworth (dbudworth) 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> ---------------------------------------------------------------------- >Comment By: David Budworth (dbudworth) Date: 2002-02-06 16:57 Message: Logged In: YES user_id=343354 Good catch, thank you for reporting this. It caused me great grief in doing jbosscmp stuff. Fixed in RelationTagsHandler.java 1.15, and relationships.j 1.23 Please verify and close bug. ---------------------------------------------------------------------- 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
