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 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835025#3835025 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835025 ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
