title: How to get inserted id using Spring Jdbctemplate.update(String sql, obj...args)
body: <p>I'm using Jdbctemplate and I need the inserted id of a query.
  I read that I have to build a particular PreparedStatement and use GeneratedKeyHolder object.</p>
  
  <p>The problem is that in my application all inserts method uses this JdbcTemplate update method:</p>
  
  <pre><code>getJdbcTemplate().update(SQL_INSERT,param1,param2,param3,...);
  </code></pre>
  
  <p>Is there another way to get the inserted id without refactoring all daos?</p>