Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle objects and method encapsulation
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
![]() |
![]() |