StringBuffer sqlBuffer = new StringBuffer();
StringBuffer sqlBuffer = new StringBuffer(128);
    public OperationData getOperationData(String schemaName,            ITableMetaData metaData) throws DataSetException    {        // cannot construct where clause if no primary key        Column[] primaryKeys = metaData.getPrimaryKeys();        if (primaryKeys.length == 0)        {            throw new NoPrimaryKeyException(metaData.getTableName());        }        // delete from        StringBuffer sqlBuffer = new StringBuffer();        sqlBuffer.append("delete from ");        sqlBuffer.append(DataSetUtils.getQualifiedName(                schemaName, metaData.getTableName()));        // where        sqlBuffer.append(" where ");        for (int i = 0; i < primaryKeys.length; i++)        {            sqlBuffer.append(primaryKeys[i]);            sqlBuffer.append(" = ?");            if (i + 1 < primaryKeys.length)            {                sqlBuffer.append(" and ");            }        }        return new OperationData(sqlBuffer.toString(), primaryKeys);    }