So a slave object can't have a dependent mapping with a master object whose forein key is part of the primary key of the slave object
object slave : (infos, a, x, y) PK is (a, x, y) with (x, y) = FK
object master: (attribute1, x, y) PK is (x, y)
So I can' t have a castor mapping refecting this kind of relationship?
>
> Are you aware that foreign keys can not be part of the primary key in
> castor.
>
>
>
>
> Viet Kevin
>
> <vietk@activi To: [EMAIL PROTECTED]
>
> a.net> cc:
>
> Subject: [castor-dev] Mutliple fields
>primary keys
> 01/30/2002
>
> 06:00 AM
>
> Please
>
> respond to
>
> castor-dev
>
>
>
>
>
>
>
>
> Hello all :
>
>
> I want to ask a question
>
> In the xml mapping file, I know how to declare a foreign key to
> an another table if this key has only one attribute
>
> but how to declare a foreign that has mutiple attributes (for refenrencing
> a peer object)?
>
>
> Thx in advance
> =============================================================
> -- KeV --
> =============================================================
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
