title: simpleJdbcTemplate. - insert and retrieve ID
body: <p>I'm putting the data into database with simpleJdbcTemplate.</p>
  
  <pre><code>simpleJdbcTemplate.update("insert into TABLE values(default)");
  </code></pre>
  
  <p>I dont want to put any data because i dont need it for my unit test purpose.</p>
  
  <p>How can i get the id from the inserted row? I can retriev the current sequence value but if somebody else will do a insert then i will be get a next sequence value.</p>
  
  <p>Is there any way to use simpleJdbcTemplate to insert a row and get id? The update method retuns the number of inserted rows and i would like to have the id. Thank you for your help.</p>