How to pass xml type parameter to stored procedure

One Star

How to pass xml type parameter to stored procedure

Hi,

I am trying to call a stored procudere in tMSSqlSP.
stored procedure is as : EXEC . '<?xml version="1.0" encoding="UTF-8"?><customer><PROVIDER customer="C3VD0PIOGI"/></customer>'

This stored procedure take one argument it's type is xml.
But in our talend has document type. when i am passing document type argument its giving error :
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The method Document2Document(Document) is undefined for the type TypeConvert
The method setDocument(int, Document) is undefined for the type CallableStatement
Please help me any one,
Thanks in Advance,
Four Stars

Re: How to pass xml type parameter to stored procedure

Calling Talend Open Studio Users

The first 100 community members completing the Open Studio survey win a $10 gift voucher.

Start the survey

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download