Driver.getConnection hangs using SQLServer driver and Java 1.6.0_29

前端 未结 9 1201
失恋的感觉
失恋的感觉 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:14

    I am so happy that I have found this forum. I had the same problem on upgrade (I actually upgraded from 1.6.0_22 to 1.7.1, then downgraded to 1.6.0_29, when the problem has occurred.

    One more thing I have noticed : if I use 1.6.0_29 jre, it fails, but if I use 1.6.0_29 jdk, it works... I spent about a day trying to figure why eclipse (which was using the jre) was failing while myEclipse (which was using the jdk) was working....

    How can a bug be introduced to such a late release ? (I am in the process of making a java production version recommendation).

提交回复
热议问题