title: Spring JdbcTemplate / NamedParameterJdbcTemplate passing null value as a parameter value
body: <p>I have an issue passing a null value to NamedParameterJdbcTemplate using MapSqlParameterSource of the spring framework. Anyone knows how to do this?</p>
  
  <p>Currently my code is :</p>
  
  <pre><code>String sql = "update person set project = :project where id = :id;";
  MapSqlParameterSource params = new MapSqlParameterSource();
  params.addValue("project ", null);
  params.addValue("id ", 1);
  int count = newNamedParameterJDBCTemplate().update(sql, params);
  </code></pre>
  
  <p>This is where I get a NullPointerException.</p>