Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

Data Management Service and Order of Inserts, Deletes

$
0
0

Hello, we are using the LCDS Data management service with a Flex app.  Currently we are using the SQL Assembler.  The issue we are having is with the order of the inserts and deletes that the data management service sends to the server when you call the commit method.   It seems that when using a managed array collection, and you delete an object in the collection that exists in the database, and then add it back to the collection, when you call commit on the dataservice object, it tries to perform the insert operation on the databaes first rather than the delete which causes a database unique constraint violation.   Is there a way to control the the order that the datamagement service performs inserts and deletes so that it is smart enough know to perform delete's first?

 

Thank you.


Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>