Was daylight savings time handling broken in Oracle JDBC driver version

I suddenly noticed that Oracle JDBC driver that I was using With Oracle 11g R2 was thinking that daylight savings time in US started after 2:59:59 am on March 13th this year. Actually, it started after 1:59:59 am. I did some additional testing and noticed that the buggy behavior of that driver did not depend on whether it talks to Oracle 11g R2 or Oracle 10g. Also, all available previous versions of that driver handle daylight savings time change correctly.

Is this a known bug? Is there a fix available for it?


Our DBA did research and found that this is a known bug and that a patch is available for it. Thanks everyone who cared to look into this and rake your brain for answers!

EDIT 9/25/2013: At the time of writing (over 2 years ago) a patch for the Oracle JDBC driver was available to the paying Oracle customers. I have not tested personally, but I believe that the issue is resolved in the current version of the Oracle JDBC driver which is available from Oracle for a free download.

Yes I agree that it is the driver. If your column is of type TIMESTAMP then Oracle will allow these invalid dates to get inserted into the DB then certain queries will throw

Error querying database. Cause: java.sql.SQLException: ORA-01878: specified field not found in datetime or interval
The error may involve defaultParameterMap
The error occurred while setting parameters
Cause: java.sql.SQLException: ORA-01878: specified field not found in datetime or interval

until the "bad" records are updated in the DB. This thread on stack overflow which was updated yesterday has the full detail. See the answer from Chris Williams

Oracle date compare broken because of DST

Need Your Help

Random with a specific amount of a specific value

c# random percentage

my problem is following: I need to create some random values for scheduling. For example process times are given. Lets say a job j on a machine i gets a random value between (1,99). thats the time ...

How to highlight search results in gridview using asp.net?

c# asp.net sql gridview highlight

I am using a search box to sort my gridview according to the search text. I want to highlight the matching text in the gridview entered into the textbox.