Home
%3CLINGO-SUB%20id%3D%22lingo-sub-386023%22%20slang%3D%22en-US%22%3EEarly%20technical%20preview%20of%20JDBC%207.1.3%20for%20SQL%20Server%20released%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-386023%22%20slang%3D%22en-US%22%3E%0A%20%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3DUTF-8%22%20%2F%26gt%3B%3CSTRONG%3EFirst%20published%20on%20MSDN%20on%20Dec%2004%2C%202018%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20We%20have%20a%20new%20early%20technical%20preview%20of%20the%20JDBC%20Driver%20for%20SQL%20Server.%20Precompiled%20binaries%20are%20available%20on%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Freleases%2Ftag%2Fv7.1.3%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20GitHub%20%3C%2FA%3E%20and%20also%20on%20%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%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Maven%20Central%20%3C%2FA%3E%20.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Below%20is%20a%20summary%20of%20the%20new%20additions%20to%20the%20project%2C%20changes%20made%2C%20and%20issues%20fixed.%20%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId-1512063740%22%20id%3D%22toc-hId-1535862971%22%3EAdded%3C%2FH3%3E%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EAdded%20a%20new%20SQLServerMetaData%20constructor%20for%20string%20values%20of%20length%20greater%20than%204000%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F876%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23876%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId--1040093221%22%20id%3D%22toc-hId--1016293990%22%3EFixed%20Issues%3C%2FH3%3E%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EFixed%20an%20issue%20with%20Geography.point()%20having%20coordinates%20reversed%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F853%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23853%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EFixed%20intermittent%20test%20failures%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F854%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23854%20%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F862%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23862%20%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F888%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23888%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EFixed%20an%20issue%20with%20setAutoCommit()%20leaving%20a%20transaction%20open%20when%20running%20against%20Azure%20SQL%20Data%20Warehouse%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F881%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23881%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%3CH3%20id%3D%22toc-hId-702717114%22%20id%3D%22toc-hId-726516345%22%3EChanged%3C%2FH3%3E%3CBR%20%2F%3E%3CUL%3E%3CBR%20%2F%3E%3CLI%3EChanged%20query%20timeout%20logic%20to%20use%20a%20single%20thread%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F842%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23842%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3ECode%20cleanup%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F857%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23857%20%3C%2FA%3E%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F873%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23873%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3ERemoved%20populating%20Lobs%20when%20calling%20ResultSet.wasNull()%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F875%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23875%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3CLI%3EImproved%20retry%20logic%20for%20intermittent%20TLS1.2%20issue%20when%20establishing%20a%20connection%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fpull%2F882%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20%23882%3C%2FA%3E%3C%2FLI%3E%3CBR%20%2F%3E%3C%2FUL%3E%3CBR%20%2F%3E%20%3CSTRONG%3EGetting%20the%20Preview%20%3C%2FSTRONG%3E%20%3CBR%20%2F%3E%20The%20latest%20bits%20are%20available%20on%20our%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Freleases%2Ftag%2Fv7.1.3%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%20GitHub%20repository%20%3C%2FA%3E%20and%20%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%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%20Maven%20Central%20%3C%2FA%3E%20.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Add%20the%20JDBC%20preview%20driver%20to%20your%20Maven%20project%20by%20adding%20the%20following%20code%20to%20your%20POM%20file%20to%20include%20it%20as%20a%20dependency%20in%20your%20project.%20%3CBR%20%2F%3E%20%3CBR%20%2F%3E%20Java%208%3A%20%3CBR%20%2F%3E%3CCODE%3E%0A%20%20%20%3CDEPENDENCY%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CGROUPID%3Ecom.microsoft.sqlserver%3C%2FGROUPID%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CARTIFACTID%3Emssql-jdbc%3C%2FARTIFACTID%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CVERSION%3E7.1.3.jre8-preview%3C%2FVERSION%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3C%2FDEPENDENCY%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Java%2011%3A%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CCODE%3E%0A%20%20%20%3CDEPENDENCY%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CGROUPID%3Ecom.microsoft.sqlserver%3C%2FGROUPID%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CARTIFACTID%3Emssql-jdbc%3C%2FARTIFACTID%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3CVERSION%3E7.1.3.jre11-preview%3C%2FVERSION%3E%0A%20%20%20%3CBR%20%2F%3E%0A%20%20%20%3C%2FDEPENDENCY%3E%0A%20%20%3C%2FCODE%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20We%20provide%20limited%20support%20while%20in%20preview.%20Should%20you%20run%20into%20any%20issues%2C%20please%20file%20an%20issue%20on%20our%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fissues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20GitHub%20Issues%0A%20%20%3C%2FA%3E%0A%20%20page.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20As%20always%2C%20we%20welcome%20contributions%20of%20any%20kind.%20We%20appreciate%20everyone%20who%20has%20taken%20the%20time%20to%20contribute%20to%20the%20project%20thus%20far.%20For%20feature%20requests%2C%20please%20file%20an%20issue%20on%20the%0A%20%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmssql-jdbc%2Fissues%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20GitHub%20Issues%0A%20%20%3C%2FA%3E%0A%20%20page%20to%20help%20us%20track%20and%20follow-up%20directly.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20We%20would%20also%20appreciate%20if%20you%20could%20take%0A%20%20%3CA%20href%3D%22https%3A%2F%2Faka.ms%2Fmssqljdbcsurvey%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20this%20survey%0A%20%20%3C%2FA%3E%0A%20%20to%20help%20us%20continue%20to%20improve%20the%20JDBC%20Driver.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20Please%20also%20check%20out%20our%0A%20%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fsqldev%3Futm_medium%3DReferral%26amp%3Butm_source%3Dhttps%3A%2F%2Fblogs.msdn.microsoft.com%2Fjdbcteam%2F2017%2F07%2F31%2Fearly-technical-preview-of-jdbc-6-3-0-for-sql-server-released%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3E%0A%20%20%20tutorials%0A%20%20%3C%2FA%3E%0A%20%20to%20get%20started%20with%20developing%20apps%20in%20your%20programming%20language%20of%20choice%20and%20SQL%20Server.%0A%20%20%3CBR%20%2F%3E%0A%20%20%3CBR%20%2F%3E%0A%20%20David%20Engel%0A%20%0A%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-386023%22%20slang%3D%22en-US%22%3EFirst%20published%20on%20MSDN%20on%20Dec%2004%2C%202018%20We%20have%20a%20new%20early%20technical%20preview%20of%20the%20JDBC%20Driver%20for%20SQL%20Server.%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-386023%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESQLServerDrivers%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Microsoft
First published on MSDN on Dec 04, 2018
We have a new early technical preview of the JDBC Driver for SQL Server. Precompiled binaries are available on GitHub and also on Maven Central .

Below is a summary of the new additions to the project, changes made, and issues fixed.

Added



  • Added a new SQLServerMetaData constructor for string values of length greater than 4000 #876


Fixed Issues



  • Fixed an issue with Geography.point() having coordinates reversed #853

  • Fixed intermittent test failures #854 #862 #888

  • Fixed an issue with setAutoCommit() leaving a transaction open when running against Azure SQL Data Warehouse #881


Changed



  • Changed query timeout logic to use a single thread #842

  • Code cleanup #857 #873

  • Removed populating Lobs when calling ResultSet.wasNull() #875

  • Improved retry logic for intermittent TLS1.2 issue when establishing a connection #882


Getting the Preview
The latest bits are available on our GitHub repository and Maven Central .

Add the JDBC preview driver to your Maven project by adding the following code to your POM file to include it as a dependency in your project.

Java 8:
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>7.1.3.jre8-preview</version>
</dependency>

Java 11:
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>7.1.3.jre11-preview</version>
</dependency>

We provide limited support while in preview. Should you run into any issues, please file an issue on our GitHub Issues page.

As always, we welcome contributions of any kind. We appreciate everyone who has taken the time to contribute to the project thus far. For feature requests, please file an issue on the GitHub Issues page to help us track and follow-up directly.

We would also appreciate if you could take this survey to help us continue to improve the JDBC Driver.

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

David Engel