Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Passing byte[] data into tMSSqlSP binary datatype

Need to call SQL Server stored procedure with binary(10) datatype from Talend tMSSqlSP.
initial string(22) 0x00000709000000D00001 being converted in tJavaRow using .getBytes() method to byte[] length 10 field
but after SP call treated on database side as 0x30783030303030373039
Any ideas what am i doing wrong?

Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hi 
How do you pass the byte[] to the tMSSQLSP? Can you please upload a screenshot of job?
Best regards
Shong
Anonymous
Not applicable
Author

Message contents:
0683p000009MGnG.png

This is how listener is looks like:
0683p000009MHFy.png

Message got from ActiveMQ in "Raw mode", all properties are String
Parsed in Java into String fields ans byte[]
0683p000009MHG3.png 0683p000009MGva.png

Then passed as 2 parameters in tMSSqlSP:
0683p000009MGvV.png 0683p000009MHBh.png

tLogRow output before SP call:
0683p000009MH5z.png

Procedure interface:
0683p000009MHG8.png

Data database side:
0683p000009MHGD.png