Paul Clapham wrote:For example you might be running Tomcat with a Java 5 JDK but the device driver was compiled with a Java 6 JDK.
ok, it makes sense.
I have Java 5 installed on this machine and used older version of JDBC driver: mssqlserver.jar
It worked fine with SQL Server 2000.
Now, when I upgraded to SQL Server 2005, I also downloaded a new version of JDBC driver: sqljdbc4.jar
But it seems that this driver was made in Java 6.
I returned to the old version of the JDBC driver mssqlserver.jar and it works.
I still don't understand how is it possible that the older version of JDBC driver works with newer version of SQL Server?
Thank you very much for your help!