真是後知後覺,原來SQL Server jdbc driver jTDS在去年2012年10月釋出了能在JDK 1.7運行的1.3.0版,而且修正了不少Bug。有使用jTDS與Java 7的朋友們趕緊下載測試吧。
The jTDS project has released version 1.2.7 and 1.3.0 of the open source JDBC driver for Microsoft SQL Server and Sybase. The new versions are a quite huge update, also fixing a number of critical bugs and improving the performance, s* we’d highly encourage you t* upgrade.
Version 1.3.0 is the first Java 7 compatible version of the driver and, beside the fix for bug #672, improves performance compared to version 1.2.7. The future development will be focused on the 1.3.x line of the driver, so further enhancements and bug fixes will not necessarily become available it the Java 1.3 compatible jTDS 1.2.x. You should only stick to jTDS 1.2 if you require to use a Java version prior to Java 7.
New features:
- Improved the database meta data support by adding (JDBC4) column IS_AUTOINCREMENT.
- Implemented support for the COMPUTE (BY) operator (bug #678, patch #48).
Bug fixes:
- #528, any ResultSet gets dropped when using RETURN_GENERATED_KEYS.
- Fixed a bug that caused Statement.close() to throw an exception for errors caused by previously executed statements.
- #609, slow SharedSocket finalization due to expensive locking.
- Fixed format conversion errors for DATETIME, DATE and TIME values.
- #615, SQL parser fails if function escapes contain nested functions.
- #634, incorrect comment processing in callable statements.
- Fixed parameter name format for procedure calls using named parameters.
- #647, preparing statements including a WITH clause don’t retrieve meta data.
- #677, possible deadlock in JtdsStatement.close().
- #676, error in SQL parser concerning multi line comments.
- #541, data type mismatch when using {ts}/{t}/{d} JDBC escapes.
- A number of incorrect error messages have been fixed.
- #637, an attempt to execute a standard SQL statement using a CallableStatement now throws an appropriate SQLException on preparation.
- #633, possible NPEs in JtdsObjectFactory.
- Added missing getter/setter methods for connection property “autoCommit" in class JtdsDataSource.
- Corrected data types for connection properties “autoCommit" and “useNTLMv2″.
- Added missing default for connection property “useNTLMv2″.
- #661, memory pollution caused by ThreadLocal Calendar instances.
- #673, buffer overflow in SQL parser.
- #643, documentation error.
- #659, missing service provider configuration file for JDBC driver class.
- #656, unnecessary log pollution during emulated XA recovery.
- #667, spurious login timeouts if establishing connections concurrently.
- #642, a stream hasn’t been closed in CharsetInfo.
- #608, various typos in Messages.properties.
- #660, problems with WebRing code of the project website.
- Fixed a race condition when closing a Statement in concurrent threads.
Posted by 2012-10-27
##
您可能也會有興趣的類似文章
- [Java] jTDS: SQL Server的JDBC驅動程式 (0則留言, 2005/03/03)
- iReport 0.4測試 (0則留言, 2005/02/12)
- Servlet 3.0的檔案上傳寫法 (2則留言, 2012/06/19)
- 又一個Java寫的資料庫前端工具:Execute Query 3.0 (2則留言, 2006/09/21)
- JTrac:Open source的Java Issue Tracking System (0則留言, 2008/01/25)
- Java十年有成 (0則留言, 2005/04/12)
- [Java] J2EE Vs. .NET (0則留言, 2005/04/13)
- [ADS] 在Linux上執行Aqua Data Studio (0則留言, 2006/03/16)
- [Java] JBuilder reportedly migrating to Eclipse? (1則留言, 2005/04/23)
- Resin 3.0.18與其PHP引擎 (0則留言, 2006/02/26)
- 通用型的資料庫前端項:DBeaver (0則留言, 2011/08/22)
- 解決 iReport 升級後的問題 (1則留言, 2005/11/22)
- [轉貼] C++創始人坦言不輸Java及C# 用戶逾300萬 (3則留言, 2005/04/25)
- iReport 0.5更新與Groovy (2則留言, 2005/05/24)
- [Java] IDEA 5.0觀看JSP檔案的不同View (0則留言, 2005/08/04)
The post jTDS JDBC Driver在2012年10月釋出了能在JDK 1.7運行的1.3.0版 appeared first on 簡睿隨筆.