Bugs item #472033, was opened at 2001-10-17 03:40
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=472033&group_id=31602

Category: ejbdoclet
Group: None
Status: Open
Resolution: None
Priority: 9
Submitted By: Aslak Helles�y (rinkrank)
Assigned to: Aslak Helles�y (rinkrank)
Summary: unidirectional relationships are broken

Initial Comment:
>From Colin Daly:

i've changed the city-country relationship in the
samples to be unidirectional like so 

   /**
    * @return country of this city
    *
    * @ejb:persistent-field
    * @ejb:interface-method view-type="local"
    * @ejb:relation
    *    name="country-city"
    *    role-name="many-city-have-one-country"
    *    target-ejb="CountryEJB"
    *    target-role-name="one-country-has-many-city"
    *    target-multiple="yes"
    *
    */
   public abstract CountryEJBLocal getCountry();


This generates a  one-many unidirectional relationship
as expected.  However if i omit
   target-multiple="yes"

i get a many-many relationship and not a one-one
as I expected.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=402704&aid=472033&group_id=31602

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to