code: @Override
    public CloudSpannerPooledConnection getPooledConnection(String user, String password)
        throws SQLException {
      return new CloudSpannerPooledConnection(getConnection(user, password), defaultAutoCommit);
    }
docs: Gets a connection which may be pooled by the app server or middleware implementation of
  DataSource.
  
  @throws java.sql.SQLException Occurs when the physical database connection cannot be
  established.