Skip navigation
jamatbls
Currently Being Moderated

Data Management Service and Order of Inserts, Deletes

Apr 19, 2013 7:16 AM

Tags: #data #flex #livecycle #lcds #livecycle_es2 #adobe_livecycle

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.

 
Replies
  • Currently Being Moderated
    Sep 7, 2013 8:33 AM   in reply to jamatbls

    We are having the same issue regarding the order of inser/delete the same ítem with commit, is there any solution to it, we would like to control the operation.

     

    thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points