Hotfix: JDBC Driver 10.2.1 for SQL Server Released

Published May 13 2022 10:47 AM 753 Views
Senior Member

We recently released an update to Microsoft JDBC Driver for SQL Server, version 10.2.1. The update addresses a few issues in the 10.2.0 release.

 

Fixed issues

  • Changed Idle Connection Resiliency timeout to use existing the SharedTimer 1794
  • Fixed Managed Identity authentication's retry interval to exponentially back off properly 1770
  • Removed an extraneous call to executeCommand() within connectionCommand() 1754

Getting the latest release

The latest bits are available to download from Microsoft, from the GitHub repository, and via Maven Central.

Add the JDBC 10.2.1 RTW driver to your Maven project by adding the following code to your POM file to include it as a dependency in your project (choose .jre8, .jre11, or .jre17 for your required Java version).

 

 

<dependency> 
  <groupId>com.microsoft.sqlserver</groupId> 
  <artifactId>mssql-jdbc</artifactId> 
  <version>10.2.1.jre17</version> 
</dependency> 

 

 

Help us improve the JDBC Driver by taking our survey, filing issues on GitHub or contributing to the project.


Please also check out our tutorials to get started with developing apps in your programming language of choice and SQL Server.


David Engel

%3CLINGO-SUB%20id%3D%22lingo-sub-3367916%22%20slang%3D%22en-US%22%3EHotfix%3A%20JDBC%20Driver%2010.2.1%20for%20SQL%20Server%20Released%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3367916%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EWe%20recently%20released%20an%20update%20to%20Microsoft%20JDBC%20Driver%20for%20SQL%20Server%2C%20version%2010.2.1.%20The%20update%20addresses%26nbsp%3Ba%20few%20issues%20in%20the%2010.2.0%20release.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EFixed%20issues%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EChanged%20Idle%20Connection%20Resiliency%20timeout%20to%20use%20existing%20the%20SharedTimer%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmssql-jdbc%2Fpull%2F1794%22%20data-hovercard-type%3D%22pull_request%22%20data-hovercard-url%3D%22%2Fmicrosoft%2Fmssql-jdbc%2Fpull%2F1794%2Fhovercard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E1794%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3EFixed%20Managed%20Identity%20authentication's%20retry%20interval%20to%20exponentially%20back%20off%20properly%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmssql-jdbc%2Fpull%2F1770%22%20data-hovercard-type%3D%22pull_request%22%20data-hovercard-url%3D%22%2Fmicrosoft%2Fmssql-jdbc%2Fpull%2F1770%2Fhovercard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E1770%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3ERemoved%20an%20extraneous%20call%20to%20executeCommand()%20within%20connectionCommand()%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fmssql-jdbc%2Fpull%2F1754%22%20data-hovercard-type%3D%22pull_request%22%20data-hovercard-url%3D%22%2Fmicrosoft%2Fmssql-jdbc%2Fpull%2F1754%2Fhovercard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3E1754%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CFONT%20size%3D%225%22%3E%3CSTRONG%3EGetting%20the%20latest%20release%3C%2FSTRONG%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3CP%3EThe%20latest%20bits%20are%20available%20to%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20title%3D%22download%20Microsoft%20JDBC%20Driver%20for%20SQL%20Server%22%20href%3D%22https%3A%2F%2Faka.ms%2Fdownloadmssqljdbc%22%20target%3D%22_self%22%20rel%3D%22noreferrer%20noopener%22%3Edownload%20from%20Microsoft%3C%2FA%3E%2C%20from%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Freleases%2Ftag%2Fv10.2.1%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGitHub%20repository%3C%2FA%3E%2C%20and%20via%26nbsp%3B%3CA%20href%3D%22http%3A%2F%2Fsearch.maven.org%2F%23search%257Cgav%257C1%257Cg%253A%2522com.microsoft.sqlserver%2522%2520AND%2520a%253A%2522mssql-jdbc%2522%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EMaven%20Central%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3EAdd%20the%20JDBC%2010.2.1%20RTW%20driver%20to%20your%20Maven%20project%20by%20adding%20the%20following%20code%20to%20your%20POM%20file%20to%20include%20it%20as%20a%20dependency%20in%20your%20project%20(choose%20.jre8%2C%20.jre11%2C%20or%20.jre17%20for%20your%20required%20Java%20version).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3E%3CDEPENDENCY%3E%20%0A%20%20%3CGROUPID%3Ecom.microsoft.sqlserver%3C%2FGROUPID%3E%20%0A%20%20%3CARTIFACTID%3Emssql-jdbc%3C%2FARTIFACTID%3E%20%0A%20%20%3CVERSION%3E10.2.1.jre17%3C%2FVERSION%3E%20%0A%3C%2FDEPENDENCY%3E%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EHelp%20us%20improve%20the%20JDBC%20Driver%20by%20taking%20our%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmssqljdbcsurvey%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Esurvey%3C%2FA%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fissues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Efiling%20issues%3C%2FA%3E%3CSPAN%3E%20on%20GitHub%20or%20contributing%20to%20the%20project.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%3E%0A%3CDIV%3E%0A%3CDIV%3E%3CBR%20%2F%3EPlease%20also%20check%20out%20our%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fsqldev%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Etutorials%3C%2FA%3E%20to%20get%20started%20with%20developing%20apps%20in%20your%20programming%20language%20of%20choice%20and%20SQL%20Server.%3CP%3E%3CBR%20%2F%3EDavid%20Engel%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-3367916%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3EWe%20recently%20released%20an%20update%20to%20Microsoft%20JDBC%20Driver%20for%20SQL%20Server%2C%20version%2010.2.1.%20The%20update%20addresses%20a%20few%20issues%20in%20the%2010.2.0%20release.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3367916%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLServerDrivers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Co-Authors
Version history
Last update:
‎May 13 2022 10:47 AM
Updated by: