on 04-28-2014 10:04 AM
Hi ,
We have sending -ve value to JDBC stored procedure where the SP type is DECIMAL.but, its giving error that "number format exception caught".
I think DECIMAL type will not be able to convert -ve sign. How can i handle this..?
ex:
input value = 2345.00-
required output in JDBC SP is : 2345.00-
used type in SP structure : DECIMAL
Should i change SP type to some other data type to handle -ve sign ? how to do that ?
plz help
Vin
Hi Vin
I think the problem is because minus ( - ) sign at the end. Correct format should be like below
- 2345.00
You can change the format in PI mapping and then send it to SP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vin
Yes decimal should be able to accept negative values. Check this
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.