20. 30. 1. Database Metadata |
|
- Metadata is data about data.
- Database metadata is information about a database.
- Database metadata provides information about the structure of a database and its tables, views, and stored procedures.
|
JDBC provides four interfaces that deal with database metadata |
- java.sql.DatabaseMetaData: about the database as a whole: table names, table indexes, database product name and version, and actions the database supports.
- java.sql.ResultSetMetaData: about the types and properties of the columns in a ResultSet object.
- java.sql.ParameterMetaData: about the types and properties of the parameters in a PreparedStatement object.
- javax.sql.RowSetMetaData: about the columns in a RowSet object.
|