## Uses of Interface
java.sql.RowId

- Packages that use RowId
  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.
  javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.

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

    Methods in java.sql that return RowId
    Modifier and Type | Method | Description
    --- | --- | ---
    `RowId` | ResultSet.`getRowId(int columnIndex)` Retrieves the value of the designated column in the current row of this `ResultSet` object as a `java.sql.RowId` object in the Java programming language.
    `RowId` | CallableStatement.`getRowId(int parameterIndex)` Retrieves the value of the designated JDBC `ROWID` parameter as a `java.sql.RowId` object.
    `RowId` | ResultSet.`getRowId(String columnLabel)` Retrieves the value of the designated column in the current row of this `ResultSet` object as a `java.sql.RowId` object in the Java programming language.
    `RowId` | CallableStatement.`getRowId(String parameterName)` Retrieves the value of the designated JDBC `ROWID` parameter as a `java.sql.RowId` object.
    `RowId` | SQLInput.`readRowId()` Reads an SQL `ROWID` value from the stream and returns it as a `RowId` object in the Java programming language.

    Methods in java.sql with parameters of type RowId
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | PreparedStatement.`setRowId(int parameterIndex, RowId x)` Sets the designated parameter to the given `java.sql.RowId` object.
    `void` | CallableStatement.`setRowId(String parameterName, RowId x)` Sets the designated parameter to the given `java.sql.RowId` object.
    `void` | ResultSet.`updateRowId(int columnIndex, RowId x)` Updates the designated column with a `RowId` value.
    `void` | ResultSet.`updateRowId(String columnLabel, RowId x)` Updates the designated column with a `RowId` value.
    `void` | SQLOutput.`writeRowId(RowId x)` Writes an SQL `ROWID` value to the stream.

  - ### Uses of RowId in javax.sql

    Methods in javax.sql with parameters of type RowId
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | RowSet.`setRowId(int parameterIndex, RowId x)` Sets the designated parameter to the given `java.sql.RowId` object.
    `void` | RowSet.`setRowId(String parameterName, RowId x)` Sets the designated parameter to the given `java.sql.RowId` object.

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

    Methods in javax.sql.rowset with parameters of type RowId
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | BaseRowSet.`setRowId(int parameterIndex, RowId x)` Sets the designated parameter to the given `java.sql.RowId` object.
    `void` | BaseRowSet.`setRowId(String parameterName, RowId x)` Sets the designated parameter to the given `java.sql.RowId` object.

  - ### Uses of RowId in javax.sql.rowset.serial

    Methods in javax.sql.rowset.serial that return RowId
    Modifier and Type | Method | Description
    --- | --- | ---
    `RowId` | SQLInputImpl.`readRowId()` Reads an SQL `ROWID` value from the stream and returns it as a `RowId` object in the Java programming language.

    Methods in javax.sql.rowset.serial with parameters of type RowId
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | SQLOutputImpl.`writeRowId(RowId x)` Writes an SQL `ROWID` value to the stream.

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.