"overriding" keyword

alexvolo

Member
Hi!

PL/SQL Developer (5.1.4.729) does not recognize "overriding" keyword that was introduced in Oracle 9.2 realease.

I have this code:

Code:
create or replace type body gl_t_ServerOutputAppender is

   overriding member procedure DoLog(EVENT in gl_t_LogEvent) is
  begin
    DBMS_OUTPUT.put_line(Self.Format(Event));
  end;
end;
I got this hint during compilation Hint: Variable 'overriding' is declared but never used in 'gl_t_ServerOutputAppender'. And, what is more important, the Beautifier formated procedure DoLog into one line:

Code:
create or replace type body gl_t_ServerOutputAppender is

  overriding member procedure DoLog(EVENT in gl_t_LogEvent) is begin DBMS_OUTPUT.put_line(self.Format(Event));
end;
end;
Thanks.
 
I am experiencing this same problem. I downloaded the latest 5.1.6 build today and it still has the same formatting problem where it puts all the code for the member function/prodcedure on one line. It looks fine using it in the type spec but messes up the format in the type body. Funny thing though, the oracle syntax reference for TYPE BODY omits the inheritence clause for members but you can't leave out OVERRIDING or it doesn't match the spec when it compiles.

Thanks
FC Wright
 
Back
Top