title: Does Java Connection.close rollback?
body: <p>Does Java Connection.close rollback into a finally block?.</p>
  
  <p>I know .Net SqlConnection.close does it.</p>
  
  <p>With this I could make try/finally blocks without catch...</p>
  
  <p>Example:</p>
  
  <pre><code>try {
      conn.setAutoCommit(false);
      ResultSet rs = executeQuery(conn, ...);
      ....
      executeNonQuery(conn, ...);
      ....
  
      conn.commit();
  } finally {
     conn.close();
  }
  </code></pre>