go to the user forum or the wiki or the faq or the book where this is
answered many times...

/max

Hi,

I'm begining with hibernate...

I have a problem with relationships, this problem is describe below:

There is an object A, this object have an association (many to many) with an object B. So, this relationship creates a table between A and B called AB. Now, i have an object C and this object have a relationship with the table AB (created by the relationship between A and B). So, this is the problem, i don't have an object that are mapped to the table AB. And the relationship between C and AB (table) is an association many to many that creates a table
ABC.

So, how can i map this relationship? How can i represent the table AB?

A --- AB --- B
         |
         |
       ABC
         |
         |
        C


thanks...



--
--
Max Rydahl Andersen
callto://max.rydahl.andersen

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to