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

Reply via email to