Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdbc + swing

 
ramaraju bhaskar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i get all tables, and their respective columns into a tree like structure in my swing program?
 
Claudio Gualberto
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've a database in sql server (for example), which has five tables, say, table1, table2...in 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic