[fdo-trac] #733: GenericRdbms: Premature property finalization on
ApplySchema
FDO
trac_fdo at osgeo.org
Wed Dec 1 13:44:14 EST 2010
#733: GenericRdbms: Premature property finalization on ApplySchema
--------------------------------+-------------------------------------------
Reporter: brentrobinson | Owner: brentrobinson
Type: defect | Status: new
Priority: minor | Milestone: 3.6.0
Component: GenericRdbms API | Version: 3.5.0
Severity: 3 | Keywords: ApplySchema property modify schema overrides
External_id: |
--------------------------------+-------------------------------------------
Steps:
* Create a database in SQL Server 2008
* Create a table in the database, using the attached sql script
* Using attached cpp file as a starter, create an FDO API application
that:
* connects to the above database
* Performs a DescribeSchema and retrieve the class for the table.
* sets descriptions on the class properties
* Does a DescribeSchemaMappings to get the logical to physical schema
mappings
* Creates an ApplySchema command which applies the property
modifications along with the schema mappings.
The ApplySchema will fail with the following exception message:
Cannot update logicalPhysical element: 'dbo:FeatureClass1.Geometry", it
has already been finalized
This would also happen for the MySQL and PostgreSQL providers.
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/733>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list