> Hi All,
>
> can any one assist me to write a java code that
> traverses a tree from database.i mean database
> contain all task id and its parent id.i need to get
> all elements if i give parentid as input.
For a given parent ID , you want all the task id?
Do you know how to write the the query? BEfore that you need to know how to make DB connection.... I guess you know these stuff already.
> Hi All,
>
> can any one assist me to write a java code that
> traverses a tree from database.i mean database
> contain all task id and its parent id.i need to get
> all elements if i give parentid as input.
http://java.sun.com/javase/technologies/database.jsp