class BareMetalRemovalUpdater {

    public List<Map<String, String>> createUpdatedConfigurationItemValues(final Connection conn) {
        final List<Map<String, String>> updatedRows = new LinkedList<>();
        try (PreparedStatement preparedStatement = conn.prepareStatement(SELECT_CONFIGURATION_ITEMS)) {
            preparedStatement.setString(1, HYPERVISOR_LIST);
            final ResultSet values = preparedStatement.executeQuery();
            findAndUpdateRowsThatReferenceBareMetal(values, updatedRows);
            values.close();
        } catch (final SQLException e) {
            logger.error("Caught exception while reading configuration values: " + e.getMessage());
            throw new CloudRuntimeException(e);
        }
        return updatedRows;
    }

}