WHAT IS JDBC Metadata API?
JDBC’s database metadata API, can be used to get information about tables, views, column names, column types, stored procedures, result sets, and databases. The API would be of need to those who need to write applications that adapt themselves to the specific capabilities of several database systems or to the content of any database.
DatabaseMetaData provides comprehensive information about the database. This interface is implemented by the driver vendors to allow the user to obtain information about the tables of a relational database as a part of JDBC application.
Iterate through a Schema , Get the table Names , Print the Column Names and Column Types for each of the table :