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.
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?
Don't mess with me you fool! I'm cooking with gas! Here, read this tiny ad: