René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback
 

Static functions/procedures in PL/SQL types

create type some_type as object (
  dummy number,
  static procedure f
);
/
create type body some_type as

  static procedure f is begin
    dbms_output.put_line ('some string');
  end f;

end;
/
begin
  some_type.f;
end;

No 'self' parameter

Static member functions/procedures have no 'self' parameter.