[fdo-trac] #452: GetClassNames does not work with ODBC Provider,
SQL Server datasource
FDO
trac_fdo at osgeo.org
Mon Feb 2 10:35:11 EST 2009
#452: GetClassNames does not work with ODBC Provider, SQL Server datasource
-------------------------------------------+--------------------------------
Reporter: brentrobinson | Owner: brentrobinson
Type: defect | Status: closed
Priority: major | Milestone:
Component: FDO API | Version: 3.4.0
Severity: 1 | Resolution: fixed
Keywords: ODBC SQL Server GetClassNames | External_id:
-------------------------------------------+--------------------------------
Changes (by brentrobinson):
* status: assigned => closed
* resolution: => fixed
Comment:
Revision: 4366
Author: brentrobinson
Date: 10:29:24 AM, Monday, February 02, 2009
Message:
Ticket#452: Modified FdoSmLpSchemaCollection::GetClassNames() to call
FdoSmLpSchema::GetPhysicalOwner() to get the owner for finding classes for
each FDO Feature Schema. Created GetPhysicalOwner() with default
implementation that gets the default owner. The ODBC-specific
implementation gets the owner with same name as the feature schema when
schema is not the default schema and no config doc is used. This was
needed because, when the ODBC provider connects to a SQL Server
datasource, it maps each SQL Server schema in the datastore to a different
FdmSmPhOwner, and each owner to an FDO Feature Schema.
----
Modified : /trunk/Providers/GenericRdbms/Src/ODBC/SchemaMgr/Lp/Schema.cpp
Modified : /trunk/Providers/GenericRdbms/Src/ODBC/SchemaMgr/Lp/Schema.h
Modified : /trunk/Utilities/SchemaMgr/Inc/Sm/Lp/Schema.h
Modified : /trunk/Utilities/SchemaMgr/Src/Sm/Lp/Schema.cpp
Modified : /trunk/Utilities/SchemaMgr/Src/Sm/Lp/SchemaCollection.cpp
--
Ticket URL: <http://trac.osgeo.org/fdo/ticket/452#comment:2>
FDO <http://fdo.osgeo.org/>
Feature Data Objects
More information about the fdo-trac
mailing list