This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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: 41586
    
  54
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