title: How to get number of affected rows from JdbcTemplate?
body: <p>I'm using spring <code>JdbcTemplate</code> to execute a sql query:</p>
  
  <pre><code>JdbcTemplate template = new JdbcTemplate(ds);
  template.execute(sqlInsert); //returns void
  </code></pre>
  
  <p>How could I get the number of effected rows, as the <code>execute()</code> method returns void?</p>