6

Currently we use jtds for connecting to our SQL Server databases. I've always taken it for granted that we use it due to performance and reliability reasons, however, it's usage pre-dates my employment.

All of that being said, we are now playing with the idea of moving to SQL Server 2008, which jtds has limited support for. Initial tests seem to indicate that jtds has better performance than the Microsoft supplied driver on 2005.

So my question is does anyone have any empirical evidence or any other good information otherwise indicating which jdbc driver is best suited for use with SQL Server 2005 and\or 2008?

Is jtds better? The driver supplied by Microsoft? Something else?

I've thought about profiling, but have doubts about whether this will really prove anything.

4

2 回答 2

3

我们有使用 MSFT 驱动程序与 JTDS 的经验,我们毫无疑问地选择了 JTDS 驱动程序。得到更少的 UNK 问题,更好的性能和可靠性。没有任何图表可演示,但我们的产品是安装量超过 3k 的加油站的 POS。

我们是sql 2005,2008年没试过。

于 2009-07-31T18:45:10.220 回答
2

是否可以选择使用Microsoft 提供的 JDBC 驱动程序

似乎它一直保持最新状态:支持 JDBC 4.0 和 MSSQL 2000/2005/2008。

于 2009-07-29T22:48:55.187 回答