Did you try cloning the schema object and using ApplySchema with this new object? The provider could be returning a cached pointer to its internal schema, which you end up modifying. Later when you ApplySchema it cannot detect any changes to the schema since it's the same object. Cloning would work around that.
Traian
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On Behalf Of VJ
Sent: Tuesday, April 14, 2009 3:27 PM
To:
[hidden email]
Subject: RE: [fdo-users] Create an FdoFeatureClass?
That is my issue: it doesn't appear in PostGIS (no trace of it), I'm looking with pgadmin. :-(
>From in my program, everything seems in order (Schema contains class). But on the next execution, there also is no trace of it...
I tried flush (on the FdoIConnection), but to no avail.
Any thoughts?
Thanks!
If the subsequent FdoIDescribeSchema returns a FdoFeatureSchema containing your new class, then everything worked.
If you want to be doubly sure, take a look at the PostGIS database with pgAdmin and see if a new table (representing your new feature class) is there.
- Jackie
--
View this message in context:
http://n2.nabble.com/Create-an-FdoFeatureClass--tp2611536p2634852.htmlSent from the FDO Users mailing list archive at Nabble.com.
_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users_______________________________________________
fdo-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fdo-users