Constraints fixes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Constraints fixes

Brent Robinson

Hi,

 

Some code changes were submitted to fix a couple of constraints defects in RDBMS providers:

 

DescribeSchema now returns unique constraints that reference base properties

 

Check constraints on multiple columns are now skipped when reverse-engineering from physical to FDO schemas. Previously, an exception was raised, which stopped the reverse-engineering process.

 

Files affected:

 

Revision: 653

Author: brentrobinson

Date: 1:54:03 PM, Friday, January 19, 2007

Message:

Handle unique constraints referencing base properties.

----

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoApplySchemaTest.cpp

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/LogicalPhysicalBender.xslt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/LogicalPhysicalFormatter.xslt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/LogicalPhysicalSorter.xslt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign2_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign_out1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign_out2_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides2_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides3_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides_def1_master.txt

Added : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides_err1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides_out2_master.txt

 

 

Revision: 638

Author: brentrobinson

Date: 1:51:20 PM, Friday, January 19, 2007

Message:

Handle unique constraints referencing base properties.

----

Modified : /branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/ClassDefinition.h

Modified : /branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/UniqueConstraint.h

Modified : /branches/3.2.x/Utilities/SchemaMgr/Nls/SmMessage.mc

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Lp/SchemaCollection.cpp

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Lp/UniqueConstraint.cpp

Modified : /branches/3.2.x/Utilities/TestCommon/Inc/TestCommonConstraints.h

Modified : /branches/3.2.x/Utilities/TestCommon/Src/TestCommonConstraints.cpp

 

Revision: 654

Author: brentrobinson

Date: 1:55:55 PM, Friday, January 19, 2007

Message:

Filter out check constraints on multiple columns (not supported by FDO)

----

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/SchemaMgrTests.cpp

 

 

Revision: 639

Author: brentrobinson

Date: 1:55:21 PM, Friday, January 19, 2007

Message:

Filter out check constraints on multiple columns (not supported by FDO)

----

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Ph/Table.cpp


_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals
Reply | Threaded
Open this post in threaded view
|

FW: Constraints fixes

Brent Robinson

The following changes have also been applied to the trunk.

 

-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Brent Robinson
Sent:
Friday, January 19, 2007 1:17 PM
To: [hidden email]
Subject: [fdo-internals] Constraints fixes

 

Hi,

 

Some code changes were submitted to fix a couple of constraints defects in RDBMS providers:

 

DescribeSchema now returns unique constraints that reference base properties

 

Check constraints on multiple columns are now skipped when reverse-engineering from physical to FDO schemas. Previously, an exception was raised, which stopped the reverse-engineering process.

 

Files affected:

 

Revision: 653

Author: brentrobinson

Date: 1:54:03 PM, Friday, January 19, 2007

Message:

Handle unique constraints referencing base properties.

----

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/FdoApplySchemaTest.cpp

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/LogicalPhysicalBender.xslt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/LogicalPhysicalFormatter.xslt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/LogicalPhysicalSorter.xslt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign2_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign_out1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_foreign_out2_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides2_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides3_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides_def1_master.txt

Added : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides_err1_master.txt

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/apply_schema_overrides_out2_master.txt

 

 

Revision: 638

Author: brentrobinson

Date: 1:51:20 PM, Friday, January 19, 2007

Message:

Handle unique constraints referencing base properties.

----

Modified : /branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/ClassDefinition.h

Modified : /branches/3.2.x/Utilities/SchemaMgr/Inc/Sm/Lp/UniqueConstraint.h

Modified : /branches/3.2.x/Utilities/SchemaMgr/Nls/SmMessage.mc

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Lp/SchemaCollection.cpp

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Lp/UniqueConstraint.cpp

Modified : /branches/3.2.x/Utilities/TestCommon/Inc/TestCommonConstraints.h

Modified : /branches/3.2.x/Utilities/TestCommon/Src/TestCommonConstraints.cpp

 

Revision: 654

Author: brentrobinson

Date: 1:55:55 PM, Friday, January 19, 2007

Message:

Filter out check constraints on multiple columns (not supported by FDO)

----

Modified : /branches/3.2.x/Providers/GenericRdbms/Src/UnitTest/Common/SchemaMgrTests.cpp

 

 

Revision: 639

Author: brentrobinson

Date: 1:55:21 PM, Friday, January 19, 2007

Message:

Filter out check constraints on multiple columns (not supported by FDO)

----

Modified : /branches/3.2.x/Utilities/SchemaMgr/Src/Sm/Ph/Table.cpp


_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals

_______________________________________________
fdo-internals mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-internals