// Get affected records.
tds = new TableDataSet(connection, tables.get(i), kd );
String sqlSnippet = whereClause.toString(" AND ");
TurbineLogging.getLogger(TurbineConstants.SQL_LOG_FACILITY)
.debug("BasePeer.doUpdate: whereClause=" + sqlSnippet);
tds.where(sqlSnippet);
tds.fetchRecords();
if ( tds.size() > 1 && selectCriteria.isSingleRecord() )
{
handleMultipleRecords(tds);