Uses of Interface java.sql.SQLXML (Java Platform SE 8 )
Date: 2016-10-23

## Uses of Interface
java.sql.SQLXML

- Packages that use SQLXML
  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 SQLXML in java.sql

    Methods in java.sql that return SQLXML
    Modifier and Type | Method and Description
    --- | ---
    `SQLXML` | Connection.`createSQLXML()` Constructs an object that implements the `SQLXML` interface.
    `SQLXML` | ResultSet.`getSQLXML(int columnIndex)` Retrieves the value of the designated column in the current row of this `ResultSet` as a `java.sql.SQLXML` object in the Java programming language.
    `SQLXML` | CallableStatement.`getSQLXML(int parameterIndex)` Retrieves the value of the designated `SQL XML` parameter as a `java.sql.SQLXML` object in the Java programming language.
    `SQLXML` | ResultSet.`getSQLXML(String columnLabel)` Retrieves the value of the designated column in the current row of this `ResultSet` as a `java.sql.SQLXML` object in the Java programming language.
    `SQLXML` | CallableStatement.`getSQLXML(String parameterName)` Retrieves the value of the designated `SQL XML` parameter as a `java.sql.SQLXML` object in the Java programming language.
    `SQLXML` | SQLInput.`readSQLXML()` Reads an SQL `XML` value from the stream and returns it as a `SQLXML` object in the Java programming language.

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

  - ### Uses of SQLXML in javax.sql

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

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

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

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

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

    Methods in javax.sql.rowset.serial with parameters of type SQLXML
    Modifier and Type | Method and Description
    --- | ---
    `void` | SQLOutputImpl.`writeSQLXML(SQLXML x)` Writes an SQL `XML` 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, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.