Try this
     * @jboss:relation-table

Here is a full example I have working..

Regards

Chris
-=-=-=

    /**
     * addresses of this Employee
     *
     * @return addresses of this Employee
     *
     * @ejb:interface-method view-type="local"
     * @ejb:relation
     *    name="address-employee"
     *    role-name="many-of-employee-have-one-address"
     *
     * @jboss:relation
     *    related-pk-field="addno"
     *    fk-column="addno_fk"
     *
     * @weblogic:relation
     *    name="address-employee"
     *    key-column="addno"
     *    foreign-key-column="addno_fk"
     *    join-table-name="address_employee"
     *
     * @jboss:relation-table
     *   table-name="address_employee"
     */
    public abstract java.util.Collection getAddresses();

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 23 May 2002 15:40
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] (no subject)



Hi,

resurces info:
- xdoclet 1.1.2
- ant 1.4.1
- jboss 3.0 RC3
- postgres 7.2

I'm trying to define a many to many relationship for two cmp beans using a
jboss apps server and a postgres db respectively. As usual for a many to
many relation I use a join (link) table between the two tables mapped to
the two beans.
I can see how this is achieved for weblogic using @weblogic:relation
join-table-name tag. However, @jboss doesn't have a join-table-name tag.
How can I define the name of the join table in @jboss?

thanks for your time
cu
chriss


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to