Replica synchronization works with ArcSDESQLExecute?

749
3
01-13-2017 06:15 AM
INFODIMEE
New Contributor

I use python to apply some changes in a feature class in an Enterprise Geodatabase on SQL server 2014 using ArcSDESQLExecute. Then, I use a replica I created to "Synchronize those changes" from the database on SQL server to another Geodatbase on Oracle 12c. But even though the synchronization completes with no error the changes are not transferred.

However, when I apply the same changes using ArcMAP and field calculator the Synhronization works fine and the changes are transferred normally.

Any ideas?

0 Kudos
3 Replies
ChristianWells
Esri Regular Contributor

What table are you editing via ArcSDESQLExecute? The base table or the versioned view? If you are editing the versioned view, are you setting a version prior?

INFODIMEE
New Contributor

The feature class I am editing is registered as versioned, so my sql expression looks like this:

SQL_expressions = "UPDATE sde.mytable_EVW SET PARCEL_LABEL = 'FINALCHECK19'"

and after the connection .execute I can see the edit has been passed normally into the delta tables

0 Kudos
VinceAngelo
Esri Esteemed Contributor

Cross-posted to GIS Stack Exchange

0 Kudos