title: Does Spring's JdbcTemplate close the connection if an exception is thrown?
body: <p>When Spring catches an SQLException, does it close the prepared statement, result set, and/or connection before throwing it's own DataAccessException (runtime) exception?</p>
  
  <p>I have a developer who wants to create an AOP aspect to catch these exceptions and log and/or close the connection.</p>
  
  <pre><code>@AfterThrowing(pointcut="dataAccessOperation()", throwing="exception")
  public void doRecoveryActions(JoinPoint thisJoinPoint, DataAccessException exception) {
       // log and/or close connection
  }
  </code></pre>