This content has been marked as final.
Show 1 reply
-
1. Re: relationship doubt
sesques May 14, 2004 3:37 PM (in response to nacho2004)I suggest you to look carefully at the XDoclet documentation.
If you define collections in both sides, your relation is a many-many one and should use a third table.
You cannot specify the
@jboss.relation
* related-pk-field="docid"
* fk-column="docid"
on both sides, just on the many side.
I that the Xdoclet parser goes crazy with your tags.
Use search on this forum. On many topics, you can find code snippet for relationships tags.
Pascal