Hello all, I am still struggling with the same many-to-many ejb relation and before rushing into coding and possibly running into big problems I would like to understand a few points about CMR and CMP. I have three tables which are mapped to two ejbs as follows: *First table, called "establishments", contains two fiels "db_establishment_id" and "db_establishment_name". Here is a sample:
*Second table, called "categories", contains two fields "db_category_id" and "db_category_name" Here is a sample:
*Third table, called "establishments_categories", contains two fields "db_establishment_id" and "db_id_category" Here is a sample:
These THREE tables map to TWO ejbs in a many-to-many bi-di relation.
My question is as follows: How is my ejb container aware of a table not mentioned anywhere (here establishments_categories)? How does it update or read from this table if it is not mentioned anywhere in the DDs? Do I need to mention it in my vendor-specific DD? Can you give me a sample of that vendor-specific DD? Thanks in advance, Julien Martin.