File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes jdbc + swing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc + swing" Watch "jdbc + swing" New topic

jdbc + swing

ramaraju bhaskar

Joined: Apr 19, 2002
Posts: 7
how can i get all tables, and their respective columns into a tree like structure in my swing program?
Claudio Gualberto
Ranch Hand

Joined: Oct 13, 2002
Posts: 47
All RDBMS that i know have the system tables
that holds this kind of information, all you have to do is execute the apropriated select from they and serve the tree component with the resultset.
ramaraju bhaskar

Joined: Apr 19, 2002
Posts: 7
I've a database in sql server (for example), which has five tables, say, table1, each table, i've 5 columns. how can i display those tables, and respective columns in a tree like structure in swing. th ebasic question is how to get tables, table names, columns in the tables information from a java program?
I agree. Here's the link:
subject: jdbc + swing
It's not a secret anymore!