on 04-01-2014 9:25 AM
Hi All,
Interface proxy to JDBC :
In this I have used stored procedures and implemented structure accordingly.
issue is while testing the interface its showing error for 1 field
" Unable to execute statement for table or stored procedure. 'ABCD_SP' (Structure 'ABCD') due to java.sql.SQLException: Unsupported parameter type 'INT' for parameter 'VINSI' found "
"JDBC message processing failed; reason Error processing request in sax parser: Error when executing statement for table/stored proc. 'ABCD_SP' (structure 'ABCD'): java.sql.SQLException: Unsupported parameter type 'INT' for parameter 'VINSI' found "
I have communicated with DB team and they are saying that field ABCD is "INT" type only . In the same way in my message mapping also i have given INT for Type attribute .
Please help what is the root cause .
Vin
Hi Vin ,
if possible then Please provide schema and table definition .
Thanks & Regards
Rudra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mastan,
Input is number only and all possible changes were made still not getting..
I want to is it PI side isuue or JDBC stored procedure issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vin -
Are you passing the parameter to the field "VINSI" ??
First try by adding an attribute "hasQuot" to the above field and map it with a constant value "No". If that doesn't work then
execute the stored procedure directly in database with the values that you are sending from PI and see if it works..
Hi Hareesh,
I have changed INT to INTEGER now its working. but its came up with another error :
I have a another field Extract date. for this field i have given DATETIME2 as type, while testing its throwing the error " Unsupported format DATETIME2 for the field Extract date found "
Is there any alternative type that should support in PI side ..?
please help
Hi,
Either change the parameter type to CHAR or change the value of VINSI to some number.
REgards,
MAstan vali
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.