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 : http://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 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>