Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Object inheritance

Re: Object inheritance

From: Finn Ellebaek Nielsen <fen_at_changegroup.dk>
Date: 2000/08/08
Message-ID: <8mpult$efc$1@news.inet.tele.dk>#1/1

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US