The ________ interface provides methods to retrieve the meta data of the database such as its structure (tables, schemas), the user on the connection, etc.

  • ConnectionMetaData
  • DatabaseMetaData
  • ResultSetMetaData
  • StatementMetaData
The DatabaseMetaData interface in JDBC provides methods for retrieving metadata about the database, including information about its structure (tables, schemas), the user associated with the connection, and more. It's essential for database introspection and querying the database schema. The other options are not used for this purpose.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *