Friday, April 01, 2005

I was using MS jdbc driver for hibernate and encountered an "cannot re-read" error when performing query. Google it, found it is a microsoft bug. Recommended jdbc driver is jTDS, the most performanced one. The company just contribute it to SourceForge.

NOTE: setting in the jdbc, example

jdbc.driverClassName=net.sourceforge.jtds.jdbc.Driver
jdbc.url=jdbc:jtds:sqlserver://hchen:1433;DatabaseName=SGMDB

0 Comments:

Post a Comment

<< Home