BUG: Calling the DatabaseMetaData.getPrimaryKeys function generates lots of temporary files when you use the SQL Server 2000 Driver for JDBC (895467)
The information in this article applies to:
- Microsoft SQL Server 2000 Driver for JDBC
SYMPTOMSWhen you try to call the DatabaseMetaData.getPrimaryKeys function by using the Microsoft SQL Server 2000 Driver for JDBC, you may notice that two temporary files are saved to the Temp folder. Because these temporary files are never deleted, the number
of files in the Temp folder increases quickly. For
each execution of the code, the following two temporary files are
created: - Srt_XXXXX.tmp
- Scb_YYYYY.tmp
Note XXXXX and YYYYY are placeholders that
represent numbers.
WORKAROUNDTo work around this issue, explicitly close all the result
sets and all the statements in the Java code. The SQL Server 2000 Driver for JDBC can then delete the associated temporary files. STATUS This
behavior is by design.
Modification Type: | Major | Last Reviewed: | 3/23/2005 |
---|
Keywords: | kbDatabase kbJava kbJDBC kbbug KB895467 kbAudDeveloper |
---|
|