Hi Reda. I�m working on this problem through the implementation of specific 
MtoNImplementors.
I dunno when I�ll be able to finish this.. but this is supposed to solve problems like 
yours.

On Wed, 3 Dec 2003 13:22:54 +0100, "Reda Benzair" <[EMAIL PROTECTED]> escreveu:

> De: "Reda Benzair" <[EMAIL PROTECTED]>
> Data: Wed, 3 Dec 2003 13:22:54 +0100
> Para: "'OJB Users List'" <[EMAIL PROTECTED]>
> Assunto: mapping M:N relation WITH ATTRIBUTES 
> 
> Hi all,
>  
> I would like to map an M:N relation WITH ATTRIBUTES but seem to be
> unable to do it with OJB... 
> By "WITH ATTRIBUTES" I mean that there is typically some more fields in
> the indirection table than just foreign keys. 
> Do I have to use 1:N N:1 mapping instead?
>  
> A dummy example:
>  
> Table Employee       Table Employee_Company (M:N)            Table
> Company
> --------------       ---------------------------
> ------------------
>  EMP_ID                 CPY_ID                                 CPY_ID
>  NAME                   EMP_ID                                  NAME  
>                         Comment
> 
>  
> 
> How can I map the "Comment" field if I use a M:N mapping? If it's not
> possible today, will it ever be? when?
> 
>  
> 
> I'm currently using RC4 with Oracle 8i.
> 
>  
> 
> I thank you in advance, 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 

--
Leandro Rodrigo Saad Cruz
IT - Inter Business Tecnologia e
Servi�os (IB)
http://www.ibnetwork.com.br
http://db.apache.org/ojb
http://xingu.sf.net


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to