The 7.0 Build 818 release notes contain the line:
Corrected behavior of table column PK, Unique and Not Null options. I don't know whom Sparx are using as an authority on the correct behaviour of the Uniqueness options within tables, but the current ( build 818 ) behaviour is TOTALLY contrary to Data Modelling Theory and the Relational Data Model.
I have posted
numerous times what the correct behaviour is:
The
[X] PK checkbox ONLY means that the column is part of the foreign key. More than one column may be so designated. {this part works}
The
[X]Unique checkbox means that the column itself is unique (and therefore a single column uniqueness constraint needs to be generated). If a column appears in a compound (multi-column) uniqueness constraint, NO inference may be drawn as to whether any individual column in the uniqueness constraint is unique. In particular, unmarking the unique checkbox DOES NOT mean you should remove the column from
any compound uniqueness constraint. (It can, however, be removed from any single column uniqueness constraints, thereby removing the constraint method)
{this part is totally defective}Where the Primary key is a compound (multi-column) key, NO inference may be drawn as to whether any individual column in the key is, itself, unique. {this part works}
This defect is SO BAD (Broken as Designed), that an immediate hotfix MUST be issued with the correct behaviour! The consequent unwitting corruption of the data models is too severe!
Paolo
[size=10]Using EA in spite of EA, NOT because of it![/size] TM[/color]