Colin Canfield wrote:
/**
* return the related iSAM.interfaces.CountryLocal.
* @ejb.interface-method
* view-type="local"
* @ejb.relation
* name="COUNTRY-ADDRESS"
* role-name="ADDRESS-has-COUNTRY"
* target-ejb="Country"
* @ejb.target-relation
* name="COUNTRY-ADDRESS"
* role-name="COUNTRY-has-ADDRESS"
* @jboss.relation-mapping
* style="foreign-key"
* @jboss.relation
* fk-constraint="true"
* fk-column="COUNTRY_ID"
* related-pk-field="countryId"
* @ejb.value-object
* aggregate="iSAM.vo.CountryValue"
* aggregate-name="Country"
* match="*"
*/
public abstract iSAM.interfaces.CountryLocal getCountry();
Hm, there is no @ejb.target-relation tag. Here how your method should be
tagged:/**
* return the related iSAM.interfaces.CountryLocal.
* @ejb.interface-method
* view-type="local"
* @ejb.relation
* name="COUNTRY-ADDRESS"
* role-name="ADDRESS-has-COUNTRY"
* target-ejb="Country"
* target-role-name="COUNTRY-has-ADDRESS"
* @jboss.relation-mapping
* style="foreign-key"
* @jboss.relation
* fk-constraint="true"
* fk-column="COUNTRY_ID"
* related-pk-field="countryId"
* @ejb.value-object
* aggregate="iSAM.vo.CountryValue"
* aggregate-name="Country"
* match="*"
*/
public abstract iSAM.interfaces.CountryLocal getCountry();
--
Pz
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user
