Possible Duplicate:
How can I define a type in oracle11g that references a collection of that type?
I have a scenario in which I have to create a user defined type A which has a collection of type A. I tried doing the following but did not help:
create or replace type sku_t;
create or replace type skulink_t as table of sku_t;
create or replace type sku_t as object(skuId varchar(12), display_name varchar(100), bundlnks ref skulink_t );
This leaves objects sku_t and skulink_t in an incomplete state and the compiler complains to complete them. I am not sure how to go about this. Any help will be much appreciated.