DB2 - Problem description
| Problem IC84510 | Status: Closed |
ERROR COULD OCCUR WHEN USING CHAR ARRAY IN EXTERNAL JAVA ROUTINE | |
| product: | |
DB2 FOR LUW / DB2FORLUW / A10 - 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 10.1 Fixpack 2 * **************************************************************** | |
| Local Fix: | |
switching to VARCHAR could avoid the problem | |
| available fix packs: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
| Solution | |
Problem is first fixed in DB2 LUW Version 10.1 Fixpack 2 | |
| Workaround | |
not known / see Local fix | |
| Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 14.06.2012 04.02.2013 04.02.2013 |
| Problem solved at the following versions (IBM BugInfos) | |
| Problem solved according to the fixlist(s) of the following version(s) | |
| 10.1.0.2 |
|
| 10.5.0.2 |
|