docs: public ResultSet getGeneratedKeys(Protocol protocol) throws SQLException {
      if (autoGeneratedKeys != Statement.RETURN_GENERATED_KEYS) {
        throw new SQLException(
            "Cannot return generated keys : query was not set with Statement.RETURN_GENERATED_KEYS");
      }
      if (cmdInformation != null) {
        if (batch) {
          return cmdInformation.getBatchGeneratedKeys(protocol);
        }
        return cmdInformation.getGeneratedKeys(protocol);
      }
      return SelectResultSet.createEmptyResultSet();
    }