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 -> Object inheritance

Object inheritance

From: Andre Reschke <andre.reschke_at_post.rwth-aachen.de>
Date: 2000/07/13
Message-ID: <396DE2A4.8BC56826@post.rwth-aachen.de>#1/1

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 Thu Jul 13 2000 - 00:00:00 CDT

Original text of this message

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