title: What to expect with PreparedStatement::setInt null input
body: <p>According to <a href="https://stackoverflow.com/questions/1357429/preparedstatement-setnull">this question/answer</a>, this code:</p>
  
  <pre><code>try(PreparedStatement p_stmt = connection.prepareStatement(sql)) {
      p_stmt.setString(1, null);
      ...
  }
  </code></pre>
  
  <p>is equivalent to:</p>
  
  <pre><code>try(PreparedStatement p_stmt = connection.prepareStatement(sql)) {
      p_stmt.setNull(1, java.sql.Types.VARCHAR);
      ...
  }
  </code></pre>
  
  <p>My question is, is this the same with <code>int</code> / <code>Integer</code> ?? In other words, what would this code do:</p>
  
  <pre><code>try(PreparedStatement p_stmt = connection.prepareStatement(sql)) {
      Integer i = null;
      p_stmt.setInt(1, i);
      ...
  }
  </code></pre>
  
  <p><code>setInt()</code> takes in a primitive <code>int</code> which cannot be null, but the unboxed <code>Integer</code> can be null.</p>