> this is my description of the raltionship:
> * @ejb.relation name="Person-PersonRoles"
> * role-name="Person-has-many-PersonRoles"
> * target-ejb="PersonRoles"
> * target-role-name="PersonRoles-belongs-to-Person"
> * target-cascade-delete="yes"
> *
> *
> *
> * @ejb.interface-method
> **/
> public abstract Collection getRoles();
I think you need to add the @jboss.relation tag. Something like this:
* @jboss.relation
* fk-column="<column name of forien key>"
* related-pk-field="<propetry name of PersonRoles pk field>"
Also I've had to add target-multiple="yes" to the @ejb.relation tag.
Jason
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user