[mapguide-users] Selection.AddFeatures not adding features for data coming from oracle

Suja Sudhan suja.sudhan at atkinsglobal.com
Thu Aug 14 07:14:59 EDT 2008


Hi All,

I have created a feature reader and I have verified that there are records
in the reader. I am using selection.AddFeatures() method to add the features
to the selection. My code works fine for all the data except for the data
coming from an oracle connection. I assume there are no issues with the code
as I have tested the functionality with different data and the problem comes
only when the data comes from an oracle connection. When I use
selection.ToXml() below is the one that I get:

<?xml version="1.0" encoding="UTF-8"?><FeatureSet
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="FeatureSet-1.0.0.xsd"></FeatureSet>


I have also verified that a primary key field is set in the oracle tables.
Can someone point to what I should look for which might prevent adding
features to the selection? 

Thanks,
Suja
-- 
View this message in context: http://www.nabble.com/Selection.AddFeatures-not-adding-features-for-data-coming-from-oracle-tp18979633p18979633.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list