Does Oracle Database PL/SQL support recursive objects? an object the includes array/table of same ty
In the Object-Relational Developer's Guide I found reference to subordinate/embedded types that are different - department includes address, for instance. This document also includes a section of resolving circular references, but again, between objects of different types. I am looking for the object to reference itself.
create or replace type a_obj is object (myself varchar2(10), parent number, children number);
/
Type A_OBJ compiled
create or replace type c_obj is table of a_obj;
/
Type C_OBJ compiled
create or replace type a_obj is object (myself varchar2(10), parent a_obj, children c_obj);
/
Error starting at line : 12 in command -