Issue #484 has been updated by Clément OUDOT.

Category set to Core
Target version set to 2.0.1


----------------------------------------
Bug #484: Clean phase does not work in databaseDestinationService
http://tools.lsc-project.org/issues/484

Author: Robin Garner
Status: New
Priority: Normal
Assigned to: 
Category: Core
Target version: 2.0.1
Problem in version: 


In AbstractJdbcDstService, the SQL delete query is called with

      sqlMapper.delete(request, attributeMap);

however in AbstractSynchronize, the only attribute supplied to the 
LscModifications parameter is the main identifier

   if (doDelete || nodelete) {
        lm = new LscModifications(LscModificationType.DELETE_OBJECT, 
task.getName());
        lm.setMainIdentifer(id.getKey());

We need to somehow pass the main identifier to the 'delete' query, but it's not 
obvious to me how this should best be done.

If you have a suggestion as to how best to do it I'm happy to have a go at 
implementing it.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to