nfh
2011-11-21 04:54:09 UTC
Hi,
I'm creating a conceptual model (which I believe is the corresponding
model to a Entity-Relationship Diagram) and I have a few one-to-many
relations with no mandatory participation on both sides.
If I'm not mistaken, this should generate 3 tables, one for each
original entity and a third one for the relation. This 3rd table
should get the primary key from each of the other 2 tables and have
its primary key set as the foreign key that came from the "many" side.
Despite that, PowerDesigner is generating just 2 tables and placing
the primary key from the "one" side on the "many" table.
What do I have to do in order to generate a physical model with 3
tables for a one-to-many relationship?
Best regards,
norberto
I'm creating a conceptual model (which I believe is the corresponding
model to a Entity-Relationship Diagram) and I have a few one-to-many
relations with no mandatory participation on both sides.
If I'm not mistaken, this should generate 3 tables, one for each
original entity and a third one for the relation. This 3rd table
should get the primary key from each of the other 2 tables and have
its primary key set as the foreign key that came from the "many" side.
Despite that, PowerDesigner is generating just 2 tables and placing
the primary key from the "one" side on the "many" table.
What do I have to do in order to generate a physical model with 3
tables for a one-to-many relationship?
Best regards,
norberto