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
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.