Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Re: Object inheritance
Unfortunately, inheritance is the most important OO feature still missing from Oracle objects :-(.
Finn
Andre Reschke <andre.reschke_at_post.rwth-aachen.de> wrote in message
news:396DE2A4.8BC56826_at_post.rwth-aachen.de...
> hi,
>
> i want to use the objectrelational features of oralce. so i want to
> create an objecthierarchy like this.
>
> CREATE TYPE Vertex2i AS OBJECT (x INT, y INT);
>
> now i want to derrive a new Object from the above.
>
> CREATE TYPE Vertex3i .... which now should get all attributes from
> Vertex2i and its own attributes.
>
> is it possible to do this without doing it like
> CREATE TYPE Vertex3i AS OBJECT(z INT, v2 Vertex2i);
>
> since i want to use the Attributes(collumns) from Vertex2i directly.
>
> thanx
>
> andre reschke
>
Received on Tue Aug 08 2000 - 00:00:00 CDT