code: public int executeUpdate(final String sql, final int autoGeneratedKeys) 
          throws SQLException {
  
          this.result = null;
  
          final ImmutableTriple<Integer,ResultSet,SQLWarning> res = 
              update(sql, autoGeneratedKeys);
  
          this.warning = res.right;
          this.generatedKeys = res.middle;
  
          return (this.updateCount = res.left);
      }
docs: {@inheritDoc}