aspose file tools*
The moose likes JDBC and the fly likes names and properties of tables in database using jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "names and properties of tables in database using jdbc" Watch "names and properties of tables in database using jdbc" New topic
Author

names and properties of tables in database using jdbc

bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
Hi all,

How do I use jdbc to find out the properties of the available tables within a database?

Thanks,
bryan
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42594
    
  65
That's what java.sql.DatabaseMetaData provides. You can get an instance from the Connection object.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: names and properties of tables in database using jdbc