Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Our SQL Server JDBC Driver 3.0 is released recently. If you're coming to SQL Server from Java, make sure that you're using our newest JDBC Driver : https://www.microsoft.com/downloads/details.aspx?FamilyID=a737000d-68d0-4531-b65d-da0f2a735707&displaylang=en
If you don't know the current SQL Server JDBC Driver version you're using, please compile my tiny little a few lines java console app below and run on your machine. It will write the SQL Server JDBC Driver version out to the console :
============================================
import java.sql.*;
public class getJDBCDriverVersion {
public static void main(String[] args) {
try {
Driver d = (Driver)Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver").newInstance();
System.out.println("JDBC Driver version is : " + d.getMajorVersion() + "." + d.getMinorVersion());
}catch (Exception e){
e.printStackTrace();
}
}
}
============================================
If it's not showing 3.0, then grab your copy from the download link above and enjoy :)