Microsoft JDBC Driver Now Supports JDK7

Greetings SQL Server developers and users,

On December 12, 2014, we released Microsoft JDBC Driver 4.1 for SQL Server.  This driver now supports the Java Development Kit 7 (JDK7).

JDBC Driver Version

JRE Versions

JDBC API Version

4.1

1.5, 1.6, 1.7

3.0, 4.0

For further details, you can click here.

You can also download it from here.

We are working next on support for JDK8 and some exciting new features. Stay tuned for future announcements.

Luiz Santos (lfsantos@microsoft.com)

Comments

  • Anonymous
    February 04, 2015
    Version 4.0 supported JRE 1.7, so what is this for?  I don't see any updates to the documentation (help folder).  Could you please shed a little light on what is different between 4.0 and 4.1?

  • Anonymous
    February 04, 2015
    Please, make it available via Maven Central.

  • Anonymous
    March 31, 2015
    Hello Java 8 (1.8) is now over 12 months old and still unsupported by Microsoft JDBC. Please share the plans to support JDK 8 and JRE 8 for Microsoft JDBC driver for SQL Server (versions 2008 - 2014). Thank you.

  • Anonymous
    April 01, 2015
    Thank jou! Should this driver be preffered over the jTDS driver? Why?

  • Anonymous
    April 27, 2015
    Any support in this version for connections to LocalDb? My use case for this is to be able to use a tool like FlyWay to update LocalDB databases (attach the empty db and run the migration scripts at test suit setup) used in integration tests. We currently have the database pre-built in terms of schema, but would be nice if we could use our migration scripts to update the LocalDB test database to the most recent version. Any alternative ideas are also welcome.

  • Anonymous
    April 28, 2015
    Any news on official Java 8 support? Java 7 has just had its final public update and will no longer be supported by Oracle except with premier support contracts. www.oracle.com/.../eol-135779.html Does the current 4.1 driver run with Java 8 even if not officially supported?

  • Anonymous
    August 11, 2015
    What ever it supports or not - it doesn't seem like it supports SQL Server and Java on Glassfish :) Trying to integrate SQL Server with Java application running on Glassfish turned out to be a complete failure. It is working great with MySQL but trying to connect it with JDBC (sql4jdbc.jar) to SQL Server is literally a nightmare! Here is very detail description of the problem: stackoverflow.com/.../invalidkeyspecexception-on-deploying-ear-file-containing-entitybeans-and-using ... But in a short, all I get from this "Integration exercise" is this entry in a Glassfish log file: Internal Exception: java.sql.SQLException: Error in allocating a connection. Cause: Connection could not be allocated because: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Server key". ClientConnectionId:a3f21831-fbc0-491c-9691-2b28500d7d2b Error Code: 0. Please see server.log for more details. ... Apparently caused by: Caused by: java.security.spec.InvalidKeySpecException: Unknown KeySpec type: java.security.spec.ECPublicKeySpec No idea what to do.