Hello all, I am trying to develop a many-many relationship with XDoclet 1.2 and JBoss 3.0. I am using the following but I have made a mistake in the tags somewhere. Could anyone point me in the right direction please.
UserBean /** * @ejb.pk-field * @ejb.persistent-field * @ejb.interface-method */ public abstract Integer getUserUid() throws EJBException; . . /** * @ejb.relation * name="users-profiles" * role-name="user-has-many-profiles" * * @jboss.relation * related-pk-field="UserUid" * fk-column="useruid" * fk-constraint="true" * * @jboss.relation-table * table-name="users_profiles_link" */ public abstract Collection getProfiles(); ProfileBean /** * @ejb.pk-field * @ejb.persistent-field * @ejb.interface-method */ public abstract Integer getProfileUid() throws EJBException; . . /** * @ejb.relation * name="users-profiles" * role-name="profile-has-many-users" * * @jboss.relation * related-pk-field="ProfileUid" * fk-column="profileuid" * fk-constraint="true" * * @jboss.relation-table * table-name="users_profiles_link" */ public abstract Collection getProfiles(); TIA Regards, Stephen. x 5125 ------------------------------------------------------------------------------------------- Copyright material and/or confidential and/or privileged information may be contained in this e-mail and any attached documents. The material and information is intended for the use of the intended addressee only. If you are not the intended addressee, or the person responsible for delivering it to the intended addressee, you may not copy, disclose, distribute, disseminate or deliver it to anyone else or use it in any unauthorised manner or take or omit to take any action in reliance on it. To do so is prohibited and may be unlawful. The views expressed in this e-mail may not be official policy but the personal views of the originator. If you receive this e-mail in error, please advise the sender immediately by using the reply facility in your e-mail software, or contact [EMAIL PROTECTED] Please also delete this e-mail and all documents attached immediately. Many thanks for your co-operation. BMW Financial Services (GB) Limited is registered in England and Wales under company number 01288537. Registered Offices : Europa House, Bartley Way, Hook, Hants, RG27 9UF ------------------------------------------------------------------------------------------ ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en _______________________________________________ Xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
