DB2 - Problem description
Problem IC82073 | Status: Closed |
ERROR COULD OCCUR WHEN USING CHAR ARRAY IN EXTERNAL JAVA ROUTINE | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
When running an external Java routine that uses CHAR array or CHAR array for bit data as a parameter, sqlcode -1131 or -4302 could be returned. SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503 SQL4302N Procedure or user-defined function "xxxx.xxxx", specific name "SQLxxxxxxxxxxxxx" aborted with an exception "Incompatible base type for array". | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 LUW Version 9.7 fixpack 7 * **************************************************************** | |
Local Fix: | |
switching to VARCHAR could avoid the problem | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
Problem is first fixed in DB2 LUW Version 9.7 fixpack 7 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 15.03.2012 24.10.2012 24.10.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP7 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.7 |