Hi,
> But this doesn't work! JBoss complains:
> Atleast one role of a foreign-key mapped relationship must have key
> fields: ejb-relation-name=Advertisement-Correction]
>
You need to add some additional tags:
* @jboss.relation-mapping style="foreign-key"
*
* @jboss.target-relation
* fk-constraint="false"
* fk-column="fk_field_of_correction"
* related-pk-field="Advertisment-field"
to the relation specification.
Hope that helps.
Heiko
--
Bancotec GmbH EMail: [EMAIL PROTECTED]
Calwer Str. 33 Telefon: +49 711 222 992 900
D-70173 Stuttgart Telefax: +49 711 222 992 999
Ein Unternehmen der Cellent AG http://www.cellent.de/
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user