WHY DOES JDBC SHOW DIFFERENT TIMESTAMP FROM SQLPLUS ON DAYLIGHT SAVINGTIME (DST)?
(Doc ID 871385.1)
Last updated on JUNE 24, 2021
Applies to:
JDBC - Version 10.2.0.4 and laterInformation in this document applies to any platform.
Information in this document applies to any platform.
Goal
JDBC 11.1.0.7.0 driver (ojdbc6.jar) using JDK 1.6 against an Oracle 10.2.0.4 database.
SqlPlus and JDBC execution on same select statement on date field show different results.
Is this a bug? Why does JDBC show a different value from sqlplus?
Steps to reproduce:
1. Create table:
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |
References |