Sorry, I was just somewhat stupid.

I looked in the 1.2 documentation and it makes it obvious that you can use
several @jboss.relation tags. Problem solved.

Martin

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Martin
> Vilcans
> Sent: Wednesday, June 18, 2003 10:09 AM
> To: [EMAIL PROTECTED]
> Subject: RE: [Xdoclet-user] Relationships --> key fields --> composite
> PK
>
>
> It looks like we're having similar problems. I posted earlier
> (http://sourceforge.net/mailarchive/message.php?msg_id=5260818), but
> received no reply.
>
> Everything works fine for me, except that I can't make composite
> keys using
> @jboss.relation, as it AFAICS only supports one fk-column and one
> related-pk-field. Any ideas?
>
> We're using XDoclet 1.1.2.
>
> Martin
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> Jesper Linvald
> Sent: Tuesday, June 17, 2003 9:37 AM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] Relationships --> key fields --> composite PK
>
>
> Hello gurus:
>
> I clarified my problem to be this:
>
> I want to create a bidirectional many to many relationship. XDoclet
> generates PK classes for me (composite) and I haven't explicitly specified
> any single  pk fields.
>
> How can I specify that the relationship should make use of a PK class and
> not any single pk fields?
>
> None of the fields are candidates in their own right but is the
> solution to
> make all the cmp fields into  pk fields and reference them all from
> @jboss.relation?
>
> Any hint would be greatly appreciated...
>
> :)esper
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.478 / Virus Database: 275 - Release Date: 06-05-2003
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.478 / Virus Database: 275 - Release Date: 06-05-2003
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.478 / Virus Database: 275 - Release Date: 06-05-2003
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to