You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft and any contributors grant you a license to the Microsoft documentation and other content
3
+
in this repository under the [Creative Commons Attribution 4.0 International Public License](https://creativecommons.org/licenses/by/4.0/legalcode),
4
+
see the [LICENSE](LICENSE) file, and grant you a license to any code in the repository under the [MIT License](https://opensource.org/licenses/MIT), see the
5
+
[LICENSE-CODE](LICENSE-CODE) file.
6
+
7
+
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation
8
+
may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries.
9
+
The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks.
10
+
Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.
11
+
12
+
Privacy information can be found at https://privacy.microsoft.com/en-us/
13
+
14
+
Microsoft and any contributors reserve all others rights, whether under their respective copyrights, patents,
15
+
or trademarks, whether by implication, estoppel or otherwise.
-[Visual Studio Code - VS Code,](https://www.visualstudio.com/products/code-vs.aspx) A good markdown editor with git integration. It's updated often and keeps getting better.
Copy file name to clipboardExpand all lines: docs/connect/jdbc/frequently-asked-questions-faq-for-jdbc-driver.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,8 +32,8 @@ The JDBC Driver is open source and the source code can be found on [GitHub](http
32
32
33
33
|JAR|JDBC Specification|JDK Version|
34
34
|-|-|-|
35
-
|mssql-jdbc-6.2.0.jre8.jar|JDBC 4.2, 4.1, and 4.0|JDK 8.0|
36
-
|mssql-jdbc-6.2.0.jre7.jar|JDBC 4.1 and 4.0|JDK 7.0|
35
+
|mssql-jdbc-6.2.1.jre8.jar|JDBC 4.2, 4.1, and 4.0|JDK 8.0|
36
+
|mssql-jdbc-6.2.1.jre7.jar|JDBC 4.1 and 4.0|JDK 7.0|
37
37
38
38
The Microsoft JDBC Drivers 6.0 and 4.2 for SQL Server supports JDBC 4.0, 4.1, and 4.2 specifications and include two JAR class libraries in the installation package as follows:
## Updates in Microsoft JDBC Driver 6.2 for SQL Server
22
-
The Microsoft JDBC Driver 6.2 for SQL Server is fully compliant with JDBC specifications 4.1 and 4.2. The jars contained in the 6.0 package are named according to Java version compatibility. For example, the mssql-jdbc-6.2.0.jre8.jar file from the 6.2 package is recommended to be used with Java 8.
22
+
The Microsoft JDBC Driver 6.2 for SQL Server is fully compliant with JDBC specifications 4.1 and 4.2. The jars contained in the 6.0 package are named according to Java version compatibility. For example, the mssql-jdbc-6.2.1.jre8.jar file from the 6.2 package is recommended to be used with Java 8.
23
23
24
-
**Performance improvements for Prepared Statements**
25
-
26
-
Improved performance for Prepared Statements through caching (including prepared statement handle re-use). This behavior can be tuned using new properties to fit your application’s needs.
24
+
**Note:** An issue with the metadata caching improvement was found in the JDBC 6.2 RTW released on June 29, 2017. The improvement was rolled back and new jars (version 6.2.1) were released on July 17, 2017 on the [Microsoft Download Center](https://go.microsoft.com/fwlink/?linkid=852460), [GitHub](https://github.com/Microsoft/mssql-jdbc/releases/tag/v6.2.1), and [Maven Central](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.microsoft.sqlserver%22%20AND%20a%3A%22mssql-jdbc%22). Please update your projects to use the 6.2.1 release jars. Please view [release notes](https://github.com/Microsoft/mssql-jdbc/releases/tag/v6.2.1) for more details.
27
25
28
26
**Azure Active Directory (AAD) support for Linux**
Copy file name to clipboardExpand all lines: docs/connect/jdbc/system-requirements-for-the-jdbc-driver.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,24 +42,24 @@ manager: "jhubbard"
42
42
43
43
**Microsoft JDBC Driver 6.2 for SQL Server:**
44
44
45
-
The JDBC Driver 6.2 includes two JAR class libraries in each installation package: **mssql-jdbc-6.2.0.jre7.jar**, and **mssql-jdbc-6.2.0.jre8.jar**.
45
+
The JDBC Driver 6.2 includes two JAR class libraries in each installation package: **mssql-jdbc-6.2.1.jre7.jar**, and **mssql-jdbc-6.2.1.jre8.jar**.
46
46
47
47
The JDBC Driver 6.2 is designed to work with and be supported by all major Sun equivalent Java virtual machines, but is tested only on Sun JRE 5.0, 6.0, 7.0, and 8.0.
48
48
49
49
The following summarizes support provided by the two JAR files included with Microsoft JDBC Drivers 6.0 and 4.2 for SQL Server:
50
50
51
51
|JAR|JDBC Version Compliance|Recommended Java Version|Description|
|mssql-jdbc-6.2.0.jre7.jar|4.1|7|Requires a Java Runtime Environment (JRE) 7.0. Using JRE 6.0 or lower will throw an exception.<br /><br /> New Features in 6.2 include: Azure AD authentication for Linux, Principal/Password method for Kerberos, automatic detection of REALM in SPN for Cross-Domain authentication, Kerberos Constrained Delegation, Query Timeout, Socket Timeout, and prepared statement handle re-use. |
54
-
|mssql-jdbc-6.2.0.jre8.jar|4.2|8|Requires a Java Runtime Environment (JRE) 8.0. Using JRE 7.0 or lower will throw an exception.<br /><br /> New Features in 6.2 include: Azure AD authentication for Linux, Principal/Password method for Kerberos, automatic detection of REALM in SPN for Cross-Domain authentication, Kerberos Constrained Delegation, Query Timeout, Socket Timeout, and prepared statement handle re-use|
53
+
|mssql-jdbc-6.2.1.jre7.jar|4.1|7|Requires a Java Runtime Environment (JRE) 7.0. Using JRE 6.0 or lower will throw an exception.<br /><br /> New Features in 6.2 include: Azure AD authentication for Linux, Principal/Password method for Kerberos, automatic detection of REALM in SPN for Cross-Domain authentication, Kerberos Constrained Delegation, Query Timeout, Socket Timeout, and prepared statement handle re-use. |
54
+
|mssql-jdbc-6.2.1.jre8.jar|4.2|8|Requires a Java Runtime Environment (JRE) 8.0. Using JRE 7.0 or lower will throw an exception.<br /><br /> New Features in 6.2 include: Azure AD authentication for Linux, Principal/Password method for Kerberos, automatic detection of REALM in SPN for Cross-Domain authentication, Kerberos Constrained Delegation, Query Timeout, Socket Timeout, and prepared statement handle re-use|
55
55
56
56
The JDBC Driver 6.2 is also available on the Maven Central Repository and can added to a Maven project by adding the following code in the POM.XML
Copy file name to clipboardExpand all lines: docs/connect/jdbc/understanding-java-ee-support.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ manager: "jhubbard"
23
23
First, make sure that your Java environment (JDK, JRE) includes the javax.sql package. This is a required package for any JDBC application that uses the optional API. JDK 1.5 and later versions already contain this package, so you do not have to install it separately.
24
24
25
25
## Driver Name
26
-
The driver class name is **com.microsoft.sqlserver.jdbc.SQLServerDriver**. For JDBC Drivers 4.0, 4.1, 4.2, and 6.0, the driver is contained in the sqljdbc.jar, sqljdbc4.jar, sqljdbc41.jar, or sqljdbc42.jar file. For JDBC Driver 6.2, the driver is contained in mssql-jdbc-6.2.0.jre7-jar or mssql-jdbc-6.2.0-jre8.jar.
26
+
The driver class name is **com.microsoft.sqlserver.jdbc.SQLServerDriver**. For JDBC Drivers 4.0, 4.1, 4.2, and 6.0, the driver is contained in the sqljdbc.jar, sqljdbc4.jar, sqljdbc41.jar, or sqljdbc42.jar file. For JDBC Driver 6.2, the driver is contained in mssql-jdbc-6.2.1.jre7.jar or mssql-jdbc-6.2.1.jre8.jar.
27
27
28
28
The class name is used whenever you load the driver with the JDBC DriverManager class. It is also used whenever you must specify the class name of the driver in any driver configuration. For example, configuring a data source within a Java EE application server might require that you enter the driver class name.
0 commit comments