public void setSQLXML (int parameterIndex, SQLXML xmlObject) throws SQLException

Sets the designated parameter to the given java.sql.SQLXML object. The driver converts this to an SQL XML value when it sends it to the database.

Parameters:
parameterIndex    index of the first parameter is 1, the second is 2, ...
xmlObject    a SQLXML object that maps an SQL XML value

Exceptions:
SQLException    if a database access error occurs, this method is called on a closed result set, the java.xml.transform.Result, Writer or OutputStream has not been closed for the SQLXML object or if there is an error processing the XML value. The getCause method of the exception may provide a more detailed exception, for example, if the stream does not contain valid XML.
SQLFeatureNotSupportedException    if the JDBC driver does not support this method

Since:  1.6