Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

names and properties of tables in database using jdbc  RSS feed

 
bryan lim
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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

Thanks,
bryan
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what java.sql.DatabaseMetaData provides. You can get an instance from the Connection object.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!