Here is a snippet of my OR schema:
CREATE TYPE artist_table_type AS TABLE OF REF artist_type;
/
CREATE TYPE track_type AS OBJECT (
title VARCHAR(1000),
duration INT,
release_date DATE,
producers artist_table_type,
MEMBER FUNCTION getProducers RETURN artist_table_type,
MEMBER FUNCTION getRemixers RETURN artist_table_type
);
/
CREATE TABLE track_obj_table OF track_type;
When I attempt to run this, I get the error:
CREATE TABLE track_obj_table OF track_type
*
ERROR at line 1:
ORA-22913: must specify table name for nested table column or attribute
I suspect that this is because of the table type in the track_type object?