This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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: 41151
    
  45
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
 
Similar Threads
how to avoid special character in database?
Url cannot be null error :(
Hibernate
Creating Pl/Sql Function from java
lading data from file into database