public void writeValue(Object key, Object value) throws SQLException {
		PreparedStatement s =
			updateStatement.prepareIfNeeded(() -> db.prepareStatement(UPDATE_STMT));
		s.setObject(1, value, valueType);
		s.setObject(2, key, keyType);

		if (s.executeUpdate() == 1) {
			return;		// Update was successful
		}

		s = insertStatement.prepareIfNeeded(() -> db.prepareStatement(INSERT_STMT));
		s.setObject(1, key, keyType);
		s.setObject(2, value, valueType);
		s.executeUpdate();
	}
Associate a new value with a given key
@param key identifies the table row
@param value is stored at that row
@throws SQLException for problems with the connection
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/tables/OptionalTable.java