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...

Reply via email to