Add a name/value pair to the configuration table

@param name name of configuration item
@param value value of configuration item
@throws Exception exception
551171
public void addValue(String name, String value) throws Exception {
        PreparedStatement statement = null;
        try (Connection sqlConnection = sqlService.getConnection()) {
            statement = sqlConnection.prepareStatement(
                "INSERT INTO " + Constants.DB_TABLE_CONFIGURATION +
                    "(" + Constants.DB_TABLE_CONFIGURATION_NAME + "," + Constants.DB_TABLE_CONFIGURATION_VALUE +
                    ") VALUES (?, ?)"
            );
            statement.setString(1, name);
            statement.setString(2, value);
            statement.executeUpdate();
        } catch (Exception e) {
            throw e;
        } finally {
            try {
                if (statement != null) {
                    statement.close();
                }
            } catch (Exception e) {
            }
        }
    }
488521
public void appendOptionalAttribute(final String name, final Object value) {
		if (value != null) {
			appendAttribute(name, value);
		}
	}
345571
public void add(String name, String... values) {
    if (containsKey(name)) {
      List<String> list = get(name);
      for (String value: values) {
        list.add(value);
      }
    } else {
      put(name, values);
    }
  }
1080538
public void writeNameValuePair(String name, int value) throws IOException
   {
      internalWriteNameValuePair(name, Integer.toString(value));
   }
750594
public void addParam(String name, String value) {
        if (name == null) {
            throw new NullPointerException("name");
        }
        if (value == null) {
            throw new NullPointerException("value");
        }
        params.add(new Param(name, value));
    }
1162724
public void writeValue (String name, Object value) {
		try {
			writer.name(name);
		} catch (IOException ex) {
			throw new JsonException(ex);
		}
		if (value == null)
			writeValue(value, null, null);
		else
			writeValue(value, value.getClass(), null);
	}
419646
public void add(String name, Iterable<?> value) {
		if (value != null) {
			this.content.put(name, value);
		}
	}
854905
public void add(String name, Map<?, ?> value) {
		if (value != null) {
			this.content.put(name, value);
		}
	}
367338
public void addObjectToSession(String name, Object value) {
        if (session == null) {
            session = new HashMap<>();
        }
        if (logger.isDebugEnabled()) {
            logger.debug("Add object [" + name + "] to session with value [" + value + "]");
        }
        session.put(name, value);
    }
1074775
public void setValue(String name, Object value)
    {
        map.get(name).stream().forEach((im) ->
        {
            im.invoke(value);
        }
991489
public void writeNameValuePair(String name, String value) throws IOException
   {
      internalWriteNameValuePair(name, escapeString(value));
   }
24472
public void addParameter( String name, String value )
    {
        if ( _additionalParameters == null )
        {
            _additionalParameters = new HashMap();
        }
        
        _additionalParameters.put( name, value );
    }
429223
void addField(final String name, final long value)
            throws IllegalStateException {

        addField(name, Long.toString(value));

    }
928853
@NonNull
  public SimpleStatementBuilder addNamedValue(@NonNull String name, @Nullable Object value) {
    return addNamedValue(CqlIdentifier.fromCql(name), value);
  }
227262
private void addConfigParam(String name, Object value) throws ConfigurationException {
        if (isModuleName(name)) {
            Utils.require(value instanceof Map,
                          "Value for module '%s' should be a map: %s", name, value.toString());
            updateMap(m_params, name, value);
        } else {
            setLegacyParam(name, value);
        }
    }
1171383
public void addHeader(String name, String value) {
        if (name == null || name.trim().length() == 0) {
            throw new IllegalArgumentException("The header name must not be null or empty.");
        }

        if (value == null) {
            throw new IllegalArgumentException("The header value must not be null.");
        }

        this.headers.put(name, value);
    }
525539
public void put(String name, byte value) throws IllegalArgumentException {
        ObjectSlot slot = findMandatorySlot(name, byte.class);
        slot.fieldValue = Byte.valueOf(value);
        slot.defaulted = false; // No longer default value
    }