title: Understanding jdbcTemplate for insert and update statements
body: <p>When inserting using jdbctemplate, I am doing this:</p>
  
  <p>getJdbcTemplate().update("insert users (...) values(?,?,?)", user.get...);</p>
  
  <ol>
  <li>How do I get the inserted id  back from msql? (it is the primary key)</li>
  </ol>
  
  <p>For updates, is it possible to return a boolean if the update was successful?</p>
  
  <pre><code>getJdbcTemplate().update("delete users where id = ?", id);
  </code></pre>