If you try to view a collection within a collection in a sql query it seems to crash PlsqlDeveloper. I've been able to reproduce in multiple versions including 12.0.7.1837.
CREATE TABLE TEST_UDT_TABLE (top top_level_type);
CREATE TYPE lowest_level_type AS OBJECT (
id number
);
CREATE TYPE lower_level_type as VARRAY(100) of lowest_level_type;
CREATE TYPE mid_level_type AS OBJECT ( low lower_level_type );
);
/
CREATE TYPE top_level_type AS VARRAY(100) OF mid_level_type;
/
CREATE TABLE TEST_UDT_TABLE (top top_level_type);
insert into test_udt_table values (TOP_LEVEL_TYPE(MID_LEVEL_TYPE(LOWER_LEVEL_TYPE(LOWEST_LEVEL_TYPE(1)))));
select low.id from test_udt_table t,
TABLE(top) top,
TABLE(low) low;
-- this works
select * from test_udt_table;
-- open TOP
-- open LOW
-- ** crash **
Thanks
CREATE TABLE TEST_UDT_TABLE (top top_level_type);
CREATE TYPE lowest_level_type AS OBJECT (
id number
);
CREATE TYPE lower_level_type as VARRAY(100) of lowest_level_type;
CREATE TYPE mid_level_type AS OBJECT ( low lower_level_type );
);
/
CREATE TYPE top_level_type AS VARRAY(100) OF mid_level_type;
/
CREATE TABLE TEST_UDT_TABLE (top top_level_type);
insert into test_udt_table values (TOP_LEVEL_TYPE(MID_LEVEL_TYPE(LOWER_LEVEL_TYPE(LOWEST_LEVEL_TYPE(1)))));
select low.id from test_udt_table t,
TABLE(top) top,
TABLE(low) low;
-- this works
select * from test_udt_table;
-- open TOP
-- open LOW
-- ** crash **
Thanks