Uses of Interface java.sql.ResultSetMetaData (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
java.sql.ResultSetMetaData

- Packages that use ResultSetMetaData
  Package | Description
  --- | ---
  java.sql | Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language.
  javax.sql | Provides the API for server side data source access and processing from the JavaTM programming language.
  javax.sql.rowset | Standard interfaces and base classes for JDBC `RowSet` implementations.

- - ### Uses of ResultSetMetaData in java.sql

    Methods in java.sql that return ResultSetMetaData
    Modifier and Type | Method and Description
    --- | ---
    `ResultSetMetaData` | PreparedStatement.`getMetaData()` Retrieves a `ResultSetMetaData` object that contains information about the columns of the `ResultSet` object that will be returned when this `PreparedStatement` object is executed.
    `ResultSetMetaData` | ResultSet.`getMetaData()` Retrieves the number, types and properties of this `ResultSet` object's columns.

  - ### Uses of ResultSetMetaData in javax.sql

    Subinterfaces of ResultSetMetaData in javax.sql
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `RowSetMetaData` An object that contains information about the columns in a `RowSet` object.

  - ### Uses of ResultSetMetaData in javax.sql.rowset

    Classes in javax.sql.rowset that implement ResultSetMetaData
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RowSetMetaDataImpl` Provides implementations for the methods that set and get metadata information about a `RowSet` object's columns.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.