hi,
i've changed the city-country relationship 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.
Colin.
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user