Driver.getConnection hangs using SQLServer driver and Java 1.6.0_29

前端 未结 9 1216
失恋的感觉
失恋的感觉 2020-11-28 12:28

I didn\'t know where to write something about this and decided to do it here.

After loooong time debugging my program I could find out that calling Driver.getConnect

9条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 13:13

    Reproduced: Problem occurs with combination of

    • SQL driver 2.0
    • SQL driver 3.0
    • SQL driver 4.0 CTP 3
    • jTDS SQL Driver 1.2.5

    • SQL server 2008R2

    • Java 1.6.0_29

    Change either SQL server version (tested on 2005 & 2008) or Java version (1.6.0_27, 1.7.0_1), and the problem doesn't occur anymore.

    Client / Server OS: Windows 2008R2

    Added to the Java Bug Database and is being worked on by Oracle.

    Crossposted on Microsoft MSDN Data Access Forum (accepted answer: upgrade to java 7) and Oracle Java JDBC Forums (information that is added here, is also added to the Java Bug Database).

提交回复
热议问题