Peter
Peter

Reputation: 9712

Connect to SQL 2008 from Java 1.4

I have Java code that, for the time being, has to be run in Java 1.4 and is using the SQL Server 2000 Driver for JDBC. One of the MS SQL Servers we work with is being upgraded from SQL Server 2000 to SQL Server 2008. The SQL 2000 JDBC driver does not work with 2008, as I've found out in practice and from reading online.

All (?) newer versions of JDBC that support SQL 2008 (2, 3 & 4) require Java 5 or Java 6.

How can I connect to MS SQL Server 2008 from Java 1.4?

Edit It looks like SQL Server 2005 JDBC Driver 1.2 will allow me to connect to SQL 2008 from Java 1.4, but that the download isn't available anymore??

Upvotes: 0

Views: 1452

Answers (1)

yakshaver
yakshaver

Reputation: 2492

You could use a third party driver like jdts: http://jtds.sourceforge.net. The 1.2.x versions run on versions 1.3 to 6. Here's a good link which describes how to use it: Help me create a jTDS connection string.

Upvotes: 2

Related Questions