Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

From Nested Sets to Trees

843854May 30 2003 — edited May 30 2003
Hi All

I need to construct a tree in java objects out of a table that has a nested set ( Joe Celko ) .
I have the table
Products
ProductID number primary key
Left number
Right number

A wanted to construct a tree base on the following
class Product {
Integer ProductID;
Product left;
Product right;
.....
}

Does anyone know of a example/tutorial that explains this


thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 27 2003
Added on May 30 2003
1 comment
141 views