I recently updated to Domino 7.0.2 and MS SQL 2005.
Now I am trying to get my old connection code between Domino and SQL (recently working with Domino 6.5 and MS SQL 2000) to work with these new versions, but Domino keeps tellling me that the JDBC-driver that Microsoft offers is not suitable for the database connection. The exact error message is “HTTP JVM: java.sql.SQLException: No suitable driver”.
I have the classpath correctly filled and the code to establish the connection is like this:
I haven´t been able to find any advice to do this some other way with the new versions. It also should be clear that domino7 supports j2se1.4.2 and that Microsoft´s driver supports the exact same version.
Subject: SQL 2005 JDBC driver IS suitable with Domino7.
Sorry folks, this was a matter of changed parameters with driver usage (creating the connection) compared to the previous driver. Obviously the changes where not documented…
Subject: RE: SQL 2005 JDBC driver not suitable with Domino7?
I see that I didn´t explain the situation fully. I downloaded a new driver, especially made for SQL 2005 by Microsoft and added this new (one) jar-file to the classpath after the upgrade. So that should not be the problem.
I also tried this JavaUserClasses-parameter but it didn´t change anything compared to the server-document classpath-setup.