IBM Support

webMethods Knowlegebase : How to Insert a null value to Oracle numeric column. (1755515)

Troubleshooting


Problem

When inserting a null value to a column with Numeric type in Oracle via Adapter service, we used input field type java.lang.Object. This will successfully insert the value.

Other types i.e java.math.BigDecimal and java.lang.String will fail with error as below:

"com.wm.pkg.art.error.DetailedServiceException:[ART.117.4002] Adapter Runtime [Adapter Service]: Unable to invoke adapter service <adapterServiceName>. [ADA/1/340] The input data for field <columnName> is not 'java.math.BigDecimal".

java.lang.String cannot be cast to java.math.BigDecimal

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Adapter for JDBC (JDB)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"webMethods Adapter for JDBC (JDB)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

Product Build 6.5

Document Information

Modified date:
20 March 2025

UID

ibm17205314