Colin, thanks for that... I'll let someone else handle the relationship part. Regarding the aggregate part, I can only suggest that its slipped somewhere along the line. If you could put that in as a bug on the sf site that'll make sure we dont forget about it and that it does get fixed.
cheers dim On Wed, 17 Oct 2001, Colin Daly wrote: > > > hi, > > 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. Could someone confirm that this is > a bug or tell me what I am doing wrong please. > > Also if I put > @ejb:aggregate > under @ejb:persistent-field > I get an error from javadoc saying it can't > load the class of the return type and to > please put it in the sourcepath. the class > is in the sourcepath so what's going on? > > Colin. > > ps Could one of the administrators/developers please repond > to this - i posted it already and have had no response. I am > trying to convince people on my project that we should be > using XDoclet and I really do need to get over these problems > to do so... > > _______________________________________________ > Xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
