The solution is as simple as creating the SQLXML object this way.
SQLXML xmlParam = getConnection().createSQLXML().setString(XML_STRING);
Type: Posts; User: ShaunakDesai; Keyword(s):
The solution is as simple as creating the SQLXML object this way.
SQLXML xmlParam = getConnection().createSQLXML().setString(XML_STRING);
I tried using Jdbc4SqlXmlHandler to create a SqlXmlValue type object to pass into the Stored procedure with XML type input parameter.
Below are some snippets from my DAO:
public class...
I am trying to pass value for XML type input parameter into a stored procedure in SQL Server 2005 using Spring 2.5.6.
When I supply a String value in the parameter, I get the following error:...
I haven't seen any API method to get to a specific header yet. But, there is a getHeaders() method which returns a Map for the message headers. You should be able to then use the...