Status/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Joel Watson / Joel Watson (existdissolve)
Created: 05/21/2013
Components: Database
Versions: 9.0.1
Failure Type: Data Corruption
Found In Build/Fixed In Build: 9.0.1 /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Windows 7
Vote Count: 1
Problem Description: When using Java 7 (1.7.0_15...latest Adobe-certified Java version), dates of datatype "date" (SQL Server) are mangled in CF...to be more specific, the dates are exactly two days prior to the actual date stored in the database (e.g., 5-22-2013 is 5-20-2013 in CF). This occurs whether data is retrieved via CFQuery or ORM.
This only seems to affect datatypes of "date", as "datetime" columns represent the correct database values (see attached screenshot)
Steps to Reproduce: Install Java 1.7.0_15. Query a SQL Server table that has a "date" column. Dump the results, and you will see that the dates are exactly 2 days prior to what they are in the database.
Actual Result: When dates of "date" datatype (SQL Server) are retrieved with CFQuery or ORM, the date is 2 days prior to the actual date in the database.
Expected Result: Dates should correctly reflect the date stored in the database.
Any Workarounds: Downgrade to Java 1.6.0_xx
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3564398
External Customer Info:
External Company:
External Customer Name: existdissolve
External Customer Email:
External Test Config: My Hardware and Environment details:
* Windows 7
* ColdFusion 9.0.2.282541
* Update Level: hf902-00005.jar
* Java Version - 1.6.0_35 (working)
* Java Version - 1.7.0_15 (produces bug)
Attachments:
- May 21, 2013 00:00:00: 1_DateBugQueries.PNG
- November 07, 2013 00:00:00: 2_repro_SQL_Create_Insert_Script.txt
- November 07, 2013 00:00:00: 3_repro_SQLData.PNG
- November 07, 2013 00:00:00: 4_repro_QueryDump-1.6.0_update45.png
- November 07, 2013 00:00:00: 5_repro_QueryDump-1.7.0_update15.PNG
- November 07, 2013 00:00:00: 6_repro_ColdFusion_output_test.cfm
Comments: