Re: java.lang.NoClassDefFoundError: com/microsoft/jdbc/base/BaseDriver



Sam Benson wrote:
Alan Krueger wrote:
Sam Benson wrote:
Trying to connect to an SQL Server 2000 database using MS SQL JDBC (the MS implementation).

I think you'll find jTDS (http://jtds.sourceforge.net) will work faster and have fewer issues, plus it fully supports JDBC 3.0, which the Microsoft (IIRC) one doesn't.

Thank.

Odd that MS does't work.

The MS one may be made to work, given that I know people who have tried it, but they invariably encounter other problems later. For me, it was worth it just for the convenience of being able to get generated keys via the standard JDBC 3.0 interface instead of building custom SQL for Microsoft's SQL Server.
.




Relevant Pages