Write a code snippet to print metadata about the database and selected table. code example
Example: Method used for getting metadata of a database in jdbc
To get the metadata from your source, call "getMetaData()" method using the Connection object.