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 IT37123 Status: Closed

JDBC: GETTIMESTAMP() THROWING EXCEPTION AND ALSO RETURNING INCORRECT
RESULTS

product:
IBM CSDK / 5724C2381 / 450 - CSDK 4.50
Problem description:
When using getTimestamp() to return a datetime year to minute
type, Informix JDBC will throw one of the following exceptions
for an empty string depending on whether using 4.10.JC14 or
4.50.JC5:

4.10.JC14:  java.sql.SQLException: System or internal error
java.lang.IllegalArgumentException:
4.50.JC5:  java.sql.SQLException: System or internal error

When returning a valid datetime year to minute of "0002-12-31
00:00:00.0", it will instead return the following:

4.10.JC14:  2000-12-31 00:00:00.0
4.50.JC5:  2000-12-31 00:00:00.0

Using Informix JDBC 3.70.JC8, the following is returned for both
tests above (empty string and valid datetime year to minute:

0002-12-31 00:00:00.0
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix JDBC prior to 4.50.JC7.                    *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix JDBC 4.50.JC7.                           *
****************************************************************
Local Fix:
Solution
Workaround
****************************************************************
* USERS AFFECTED:                                              *
* Users of Informix JDBC prior to 4.50.JC7.                    *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Informix JDBC 4.50.JC7.                           *
****************************************************************
Comment
Fixed in Informix JDBC 4.50.JC7.
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
03.06.2021
02.11.2021
02.11.2021
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)