Date columns in SQL-Server (MSSQL-JDBC 3.0) running under Java 1.7.0 retrieved as 2 days in the past

后端 未结 5 1806
耶瑟儿~
耶瑟儿~ 2020-11-30 13:26

I have strange effects when retrieving columns of type DATE from SQLServer2008 using the Microsoft JDBC-Driver version 3.0 when running under the official Oracle JDK 1.7.0.

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-30 14:22

    Information and download link for the hotpatch from Microsoft Support can be found here:

    http://support.microsoft.com/kb/2652061

    I was experiencing the same issue, where the date would be off by two days, and this hotpatch fixed it.

提交回复
热议问题