[mapguide-users] Inser feature problem

Zac Spitzer zac.spitzer at gmail.com
Mon Nov 9 04:03:08 EST 2009


which provider are you using?

On Mon, Nov 9, 2009 at 8:01 PM, mighty_duck <msiljegovic at gmail.com> wrote:
>
> I dont think it is Oracle error, it inserts everything correcly to database,
> problem start when FeatureService wants to return "information" that feature
> is succesufully inserted into the database.
>
> Wouldn't it be maybe FDO problem?!
>
> thanks
>
>
> Dejan Gregor wrote:
>>
>> What is the ORA error/exception number?
>>
>> Dejan
>>
>> On Mon, Nov 9, 2009 at 09:42, mighty_duck <msiljegovic at gmail.com> wrote:
>>
>>>
>>> Hi,
>>>
>>> I created table in Oracle with two columns: ID(primary key) and
>>> Geometry(SDO_GEOMETRY). I also done all stuffs with metadata and spatial
>>> index.....
>>>
>>> Problem is when I want to insert feature into the table...
>>> featureService.UpdateFeatures(resourceIdentifier, commandCollection,
>>> false);. This command correctly inserts new feature into the table, but
>>> throws also exception depending if I specify ID directly (Feature service
>>> exception - error occurred while insert operation, no ID to retrieve), or
>>> I
>>> let Oracle autogenerates the new ID(An unclassified exception occurred).
>>>
>>> So in both cases feature is inserted into the table, but everytime I get
>>> exception, and I cant realize what cause this problem!!!
>>>
>>> thanks in advance
>>> --
>>> View this message in context:
>>> http://n2.nabble.com/Inser-feature-problem-tp3971827p3971827.html
>>> Sent from the MapGuide Users mailing list archive at Nabble.com.
>>> _______________________________________________
>>> mapguide-users mailing list
>>> mapguide-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>
>>
>
> --
> View this message in context: http://n2.nabble.com/Inser-feature-problem-tp3971827p3971881.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168


More information about the mapguide-users mailing list