问题
There is any way, in a user-defined type, to define a private attribute ? In my scenario, I need to define some attribute like utl_tcp.connection. I need something like this :
CREATE TYPE TYPE_TCP AS OBJECT (
CONNECTION UTL_TCP.CONNECTION,
IS_CONNECTED BOOLEAN );
It has been used previously inside a package , but now I should delete the package and use it as an object type.
TYPE TYPE_TCP IS RECORD (
CONNECTION UTL_TCP.CONNECTION,
IS_CONNECTED BOOLEAN );
All ideas/suggestions are Welcome
Thank you
来源:https://stackoverflow.com/questions/62722013/using-a-private-attribute-utl-tcp-connection-in-a-user-defined-type-oracle