jTDS JDBC Driver在2012年10月釋出了能在JDK 1.7運行的1.3.0版

真是後知後覺,原來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

##

您可能也會有興趣的類似文章

簡睿

服務於軟體業的資訊老兵。興趣廣泛,學習力佳,樂於分享所知所學。

您可能也會喜歡…

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *