Home » Developer & Programmer » JDeveloper, Java & XML » tree structure retreiving for oracle DB
tree structure retreiving for oracle DB [message #92505] Wed, 18 August 2004 23:50
arun
Messages: 67
Registered: January 2000
Member
Hi,

I designed an application using java with a tree control, I made DB connection and retreived data into the nodes but they are just retreived in a normal way

for eg:- 

        .Empnames
              john
             

              bob

        . Salary

            3000

            5000

I retreived using this statement ----[>] topnode.add(new DefaultMutableTreeNode(rset.getString("emp_name")));

so, actually i want to do something like this, that each name should be a node in itself giving further access to other information.

           .empnames
              .john
                   
                     .salary
                           
                           .commission
              .bob

any help is greatly appreciatted  :-)

 
Previous Topic: Jdbc Connectivity using OCI8
Next Topic: JDBC Connection basics (tearing my hair out!)
Goto Forum:
  


Current Time: Fri Nov 22 14:46:25 CST 2024