LOG.debug("deleting record id " + primaryKeyColumn.value() + " from table " + record);
}
//TODO:push formattedName and formattedValue into Column
final NameValue nameValue = primaryKeyColumn.nameValue(preassignedValues);
final String deleteQuery = String.format(DELETE_QUERY_TEMPLATE, record.tableName(), nameValue.formattedNameWithoutTrailingComma(), nameValue.formattedValueWithoutTrailingComma());
if (LOG.isInfoEnabled()) {
LOG.info("delete query for table, " + record + ": " + deleteQuery);
}
return deleteQuery;