public void execute( Object parameter, SqlCommand sqlCommand, ProcessEngineConfigurationImpl processEngineConfiguration) { IdentityLinkEntity identityLink = (IdentityLinkEntity) parameter; sqlCommand.insert( TableUtil.getTaskTdentityLinkRunTableName(), identityLink.getPersistentDbMap()); }
public void execute( Object parameter, SqlCommand sqlCommand, ProcessEngineConfigurationImpl processEngineConfiguration) { ProcessInstanceEntity processInstance = (ProcessInstanceEntity) parameter; Object[] objectParamWhere = new Object[1]; objectParamWhere[0] = processInstance.getId(); sqlCommand.update( TableUtil.getProcessInstanceRunTableName(), processInstance.getPersistentDbMap(), " PROCESSINSTANCE_ID=?", objectParamWhere); }