Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Data Management Service and Order of Inserts, Deletes

Avatar

Level 1

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.

1 Reply

Avatar

Level 1

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