| 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. 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
SQLXML | 
Connection.createSQLXML()
Constructs an object that implements the  
SQLXML interface. | 
|
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(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(String parameterName)
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 | 
SQLInput.readSQLXML()
Reads an SQL  
XML value from the stream and returns it as a
 SQLXML object in the Java programming language. | 
| Modifier and Type | Method | 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. | 
| Modifier and Type | Method | 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. | 
| Modifier and Type | Method | 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. | 
| Modifier and Type | Method | Description | 
|---|---|---|
SQLXML | 
SQLInputImpl.readSQLXML()
Reads an SQL  
XML value from the stream and returns it as a
 SQLXML object in the Java programming language. | 
| Modifier and Type | Method | 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.