Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
FIX: The SQL Server 2000 Driver for JDBC may spawn a new thread when you call the setQueryTimeout function on a connection object, and performance may decrease when you repeatedly call the setQueryTimeout function
Article ID: 894552 - View products that this article applies to.
Consider the following scenario. You call the setQueryTimeout method on a connection object that uses the Microsoft SQL Server 2000 Driver for JDBC. When you do this, the driver may spawn a new thread to monitor the query execution on the original connection. Additionally, when you repeatedly call the setQueryTimeout method in a high-load environment, performance may decrease. In this scenario, the system may run out of memory and crash.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next SQL Server 2000 Driver for JDBC service pack that contains this hotfix.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Note Because of file dependencies, the most recent hotfix or feature that contains these files may also contain additional files.
Date Time Size File name -------------------------------------------- 26-Jan-2005 18:29 287,007 Msbase.jar 26-Jan-2005 18:29 67,167 Mssqlserver.jar 26-Jan-2005 18:29 59,072 Msutil.jar
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
To reproduce this problem, compile and run the following Java code sample:
Note Server represents the name of the computer that is running SQL Server 2000, UserID represents your user ID, and Password represents your password.
For more information about JDBC, click the following article number to view the article in the Microsoft Knowledge Base:
313100For more information, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/313100/ )How to get started with Microsoft JDBC
(http://support.microsoft.com/kb/824684/ )Description of the standard terminology that is used to describe Microsoft software updates
Article ID: 894552 - Last Review: October 7, 2005 - Revision: 1.1