From: "Finn Ellebaek Nielsen" <fen@changegroup.dk>
Subject: Re: Object inheritance
Date: 2000/08/08
Message-ID: <8mpult$efc$1@news.inet.tele.dk>#1/1
Content-Transfer-Encoding: 7bit
References: <396DE2A4.8BC56826@post.rwth-aachen.de>
X-Priority: 3
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: Department of Written Abuse <abuse@news.inet.tele.dk>
X-Trace: news.inet.tele.dk 965770749 14828 195.249.171.80
Organization: ChangeGroup ApS
X-MSMail-Priority: Normal
Mime-Version: 1.0
Reply-To: "Finn Ellebaek Nielsen" <fen@changegroup.dk>
Newsgroups: comp.databases.oracle.misc


Unfortunately, inheritance is the most important OO feature still missing
from Oracle objects :-(.

Finn

Andre Reschke <andre.reschke@post.rwth-aachen.de> wrote in message
news:396DE2A4.8BC56826@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
>



