[fdo][FDO214][Modified] Schema Reverse-Engineering fails if foreign key named the sa...

Brent Robinson brent.robinson at autodesk.com
Fri Oct 13 14:52:56 EDT 2006


You can view the artifact detail at the following URL:

    https://fdo.osgeo.org/servlets/Scarab/id/FDO214

Type:
Defect

Artifact ID:
FDO214 (Schema Reverse-Engineering fails if foreign key named the same as column.)

Modified by:
Brent Robinson
brentrobinson (brent.robinson at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Defect Resolution set to new value:
Submitted
-- Resolution Description set to new value:
The solution was to check the name of each reverse-engineered property to see if it was the same as another property. If it is, then the name is adjusted to be unique:

For Association properties, the property name is pre-pended with "Assoc". If the name is still not unique, then the "1" is appended to the name. If still not unique then the "1" suffix is incremented ( to "2", "3", etc.) until a unique name is found.

For Data Properties, if the name is not unique the "1" is appended to the name. If still not unique, the "1" suffix is incremented until the name is unique.
-- Artifact Status changed:
Old value:
Assigned
New value:
Resolved



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Fdo_issues mailing list