code: public Object read(Object key) throws SQLException {
          if (key instanceof Integer) {
              return base.getObject((Integer) key);
          } else {
              return base.getObject((String) key);
          }
      }
docs: Reads an output parameter value from the statement.
  
  @param key parameter key.
  @return parameter value (optional).
  @throws SQLException if error occurs while reading parameter value.
  
  @since v1.0