Share via


setSQLXML Method (SQLServerPreparedStatement)

Sets the designated parameter to the specified SQLXML object.

Note

This feature is introduced starting with the Microsoft SQL Server JDBC Driver version 2.0.

public final void setSQLXML(int parameterIndex,
                            java.sql.SQLXML xmlObject)

Parameters

parameterIndex

An int that indicates the parameter index.

xmlObject

A SQLXML object that contains the parameter value.

Exceptions

SQLServerException

Remarks

This setSQLXML method is specified by the setSQLXML method in the java.sql.PreparedStatement interface.

See Also

Concepts

SQLServerPreparedStatement Methods
SQLServerPreparedStatement Members