Example usage for java.sql CallableStatement setSQLXML

List of usage examples for java.sql CallableStatement setSQLXML

Introduction

In this page you can find the example usage for java.sql CallableStatement setSQLXML.

Prototype

void setSQLXML(String parameterName, SQLXML xmlObject) throws SQLException;

Source Link

Document

Sets the designated parameter to the given java.sql.SQLXML object.

Usage

From source file:it.greenvulcano.gvesb.datahandling.dbo.DBOCallSP.java

private void setSQLXML(CallableStatement cs, SQLXML xml) throws SQLException {
    if (useName) {
        cs.setSQLXML(currName, xml);
    } else {/*from   ww  w.jav  a  2  s.c o m*/
        cs.setSQLXML(colIdx, xml);
    }
}