Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
10.3.1.4
-
None
-
Normal
-
Repro attached
-
Deviation from standard, Embedded/Client difference, Wrong query result
Description
In ParameterMappingTest I see the following differences between embedded and client. Client is truncating the TIMESTAMP value. Look for this bug number in the test for reproduction.
case java.sql.Types.TIMESTAMP:
if (param == 2)
if (usingEmbedded())
assertEquals("2004-03-12 21:14:24.938222433", val.toString());
else
assertEquals("2004-03-12 21:14:24.938222", val.toString());
else if (param == 3)
if (usingEmbedded())
assertEquals("2004-04-12 04:25:26.462983731", val.toString());
else
assertEquals("2004-04-12 04:25:26.462983", val.toString());
break;
Attachments
Attachments
Issue Links
- is part of
-
DERBY-2034 Tracking of bugs that lead to incorrect results being stored or returned to the client
- Closed
- is related to
-
DERBY-4614 JDBC metadata gives incorrect lengths for timestamps
- Closed
-
DERBY-4626 Timestamp truncated when converted to string with explicit calendar
- Closed
-
DERBY-4625 TIMESTAMP function doesn't accept nanoseconds
- Closed
- is required by
-
DERBY-4728 10.5 backport effort tracking issue
- Closed
- relates to
-
DERBY-1816 Client's ResultSet.getTime() on a SQL TIMESTAMP column loses the sub-second resolution and always has a milli-second value of zero.
- Closed