[fdo-users] PostGIS : Can't insert in a non-feature class

Mateusz Loskot mateusz at loskot.net
Fri Nov 16 12:30:08 EST 2007


Bruno Scott wrote:
> Here is the piece of code that make that call failed:
> 
> FdoIFeatureReader* InsertCommand::Execute() 
> { 
>    ...
> 
>     FdoPtr<FdoClassDefinition>
> classDef(schemaDesc->FindClassDefinition(mClassIdentifier)); 
>     if (!classDef)  
>     { 
>       throw FdoCommandException::Create(L"[PostGIS] InsertCommand can not
> find class definition"); 
>     } 
>    
>    ...
> }
> 
> I think this is a big limitation in the PostGis provider not beeing able to
> use non-feature class

Bruno,

I'm not sure but AFAIK the FdoIInsert interface is used to operate on
objects of feature only classes.

Could anyone correct me if I'm wrong?

Also, I'd be very thankful if you could report it as a ticket on the Trac.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the fdo-users mailing list