home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
14.10.xC10 FixList
12.10.xC16.X5 FixList
11.70.xC9.XB FixList
11.50.xC9.X2 FixList
11.10.xC3.W5 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

Informix - Problem description

Problem IT38907 Status: Closed

JDBC THROWS SYSTEM OR INTERNAL ERROR JAVA.LANG.NUMBERFORMATEXCEPTION ON
FECTH USING GENBSON()

product:
IBM CSDK / 5724C2381 / 450 - CSDK 4.50
Problem description:
When executing a select statement using genBSON(), Informix JDBC
will throw a System or internal errorj
java.lang.NumberFormatException exception.

If I create the following table:

$ cat table.sql
create table t2(
c1 int,
c2 char(10));

insert into t2 values (215, 'Via');

The following select statement returns the data but throws the
exception:

$ java SimpleSelect
FAILED: Fetch statement failed: System or internal
errorjava.lang.NumberFormatException: For input string:
"{"_id":ObjectId("617c22b242b1a86900000002"),"c1":215,"c2":"Via"
}"
>>>End of test.
Problem Summary:
Local Fix:
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
29.10.2021
28.11.2022
28.11.2022
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)