My Oracle Support Banner

SetTime Difference in 11.2.0.3 JDBC Driver Compared to 11.1.0.7 JDBC Driver (Doc ID 1507772.1)

Last updated on MARCH 15, 2022

Applies to:

JDBC - Version 11.2.0.3.0 and later
Information in this document applies to any platform.

Goal

After upgrading the Oracle JDBC Thin driver from 11.1.0.7 to 11.2.0.3, a different behaviour is noticed in the setTime:

 
With 11.2.0.3 Oracle JDBC driver, only the hours, minutes and seconds are set;  while in the previous 11.1.0.7 driver,  the day, month and year were also set.
With 11.2.0.3 Oracle JDBC driver, default date is set and the value is always 01/01/1970.
The same behaviour is seen when connecting to a 11.1.0.7 or 11.2.0.3 database.


How to rectify the above two issues?

 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.