DatabaseMetaDatas are similar to the catalog functions in ODBC, where an application queries the underlying DBMS’s system tables and gets information. ODBC returns the information as a resultset. JDBC returns the results as a ResultSet object with well-defined columns.
The DatabaseMetaData object and its methods give a lot of information about the underlaying database. This information is more useful for database tools, automatic data conversion, and gateway programs. The DatabaseMetaData object gives information about the functionality and limitation of the underlying DBMS. An important set of information that is very useful for an application programmer includes the methods describing schema details of the tables in the database, as well as table names, stored procedure names and so on.



No comments:
Post a Comment