DB2 stored procedure update fails after upgrading the DB2 JDBC driver.
book
Article ID: KB0085852
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Description: DB2 stored procedure update fails after upgrading DB2 JDBC driver. Symptoms: When BW tries to execute the stored procedure, the following error is thrown.
<COLUMN_NAME> - will be replaced with affected DB data
Cause:
This is due to a JDBC 4.0 API change. The ResultSetMetaData class for this version of the driver returns the column name (defined in the database) for the getColumnName() call. It returns the ALIAS name only getColumnLabel() is called. BW has always used getColumnName().
Resolution
Add the following property to the DB connection URL.