Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Object Reference
Another question: can the object reference points to itself?
Thank you!
Honglin
Honglin Su wrote:
> Hi, there,
>
> The same problem in a differnt way:
>
> I need to map a tree structure to Oracle. For each node in the tree, I
> will map it into a object table in Oracle. The columns (attributes) of
> the object table have object reference to the child and parent node.
>
> When I construct the table, I should define object references to parent
> and children. For object reference definition, it need to know the type
> in advance. When I traverse the tree as post-order, I only have the
> children first (although I can have parent, it would cause a recursive
> definition), while the parents have not defined yet. How can I define
> the references? ( I am not sure that I give a right statement on the
> problem.)
>
> Thank you very much!
>
> Honglin
>
> Honglin Su wrote:
>
> > Hi, there,
> >
> > Can I have a object reference to a type which I don't know yet? I am
> > using Oracle 8.1.5i.
> >
> > Thank you!
> >
> > Honglin
Received on Wed Aug 18 1999 - 16:46:46 CDT
![]() |
![]() |