Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle objects and method encapsulation

Re: Oracle objects and method encapsulation

From: Georg Scholz <georg.scholz_at_vienna.at>
Date: Fri, 18 Apr 2003 13:32:30 GMT
Message-ID: <O7Tna.109857$UR.950832@news.chello.at>


Do you mean the CREATE TYPE xxx AS OBJECT statement?

Then you simply need to put the private functions in the BODY part without mentioning them in the declaration part.

Georg Scholz

"Seth" <sgelberg_at_optonline.net> schrieb im Newsbeitrag news:f3159b28.0304180500.21854fd9_at_posting.google.com...
> Im wondering if it is possible to hide pl/sql methods in the objects
> body - the compiler seems not to allow this, but interestingly enough
> if I define the method as an external java method the compiler does
> not require a definition in the spec.
>
> It seems odd that Oracle would require all methods to be public,
> anyone know how to get around this.
Received on Fri Apr 18 2003 - 08:32:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US