Skip to content

Commit 6a98d2d

Browse files
authored
Updates for 13.2.0 release (#2733)
* Updates for 13.2.0 release * Added newline * Addressed comments
1 parent 27a0bcd commit 6a98d2d

File tree

15 files changed

+58
-21
lines changed

15 files changed

+58
-21
lines changed

CHANGELOG.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22
All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
5+
## [13.2.0] Stable Release
6+
7+
### Changed
8+
9+
- **Use sys.all_objects for accurate function and procedure filtering** [#2705](https://github.com/microsoft/mssql-jdbc/pull/2705)
10+
**What changed**: Differentiated stored procedures and functions using sys.all_objects instead of sp_stored_procedures.
11+
**Who benefits**: Developers using getProcedures() and getFunctions() in JDBC.
12+
**Impact**: Ensures correct metadata retrieval, preventing confusion from mixed results.
13+
14+
### Fixed issues
15+
16+
- **Fix trustStoreType JVM property consultation in SSL Connections** [#2724](https://github.com/microsoft/mssql-jdbc/pull/2724)
17+
**What was fixed**: Ensured fallback to JVM system property javax.net.ssl.trustStoreType if connection property is unset.
18+
**Who benefits**: Users configuring SSL via system properties.
19+
**Impact**: Enables proper SSL trust store resolution, improving compatibility with system configurations.
20+
21+
- **Addressed a data integrity and performance issue for bulk copy batch inserts with non-Unicode Strings** [#2735](https://github.com/microsoft/mssql-jdbc/pull/2735)
22+
**What was fixed**: Resolved performance degradation and incorrect string handling in bulk copy batch inserts when useBulkCopyForBatchInsert=true and sendStringParametersAsUnicode=false.
23+
**Who benefits**: Applications using SQL Server JDBC Bulk Copy for high-volume inserts, especially with non-Unicode or accented character data.
24+
**Impact**: Restores expected string storage, improves bulk insert performance for bulk copy API.
25+
26+
- **Handle SQL comments at start of query in getGenerateKeys() method** [#2731](https://github.com/microsoft/mssql-jdbc/pull/2731)
27+
**What was fixed**: Corrected detection of INSERT statements when preceded by SQL comments.
28+
**Who benefits**: Developers using getGeneratedKeys() after commented SQL inserts.
29+
**Impact**: Fixes previously failing key retrieval when comments are present before the query.
30+
31+
- **Fix update count handling for multi-statement queries executed via PreparedStatement execute method.** [#2737](https://github.com/microsoft/mssql-jdbc/pull/2737)
32+
**What was fixed**: Corrected update count handling for multi-statement queries run using PreparedStatement execute method, ensuring accurate counts for INSERT and other DML operations.
33+
**Who benefits**: Java applications using SQL Server JDBC with multi-statement PreparedStatement executions.
34+
**Impact**: Eliminates inconsistent update counts between Statement and PreparedStatement, improving reliability of result processing logic.
35+
36+
- **CodeQL suppression fixes** [#2728](https://github.com/microsoft/mssql-jdbc/pull/2728)
37+
**What was fixed**: Suppressed CodeQL rule [SM05141] with justification for broader usage scenarios.
38+
**Who benefits**: Developers maintaining code quality tools like CodeQL.
39+
**Impact**: Prevents unnecessary alerts for valid usage in multi-environment libraries.
40+
41+
542
## [13.1.1] Preview Release
643

744
### Added

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ We're now on the Maven Central Repository. Add the following to your POM file to
8383
<dependency>
8484
<groupId>com.microsoft.sqlserver</groupId>
8585
<artifactId>mssql-jdbc</artifactId>
86-
<version>13.1.1.jre11-preview</version>
86+
<version>13.2.0.jre11</version>
8787
</dependency>
8888
```
8989
The driver can be downloaded from [Microsoft](https://aka.ms/downloadmssqljdbc). For driver version 12.1.0 and greater, please use the jre11 version when using Java 11 or greater, and the jre8 version when using Java 8.
@@ -94,7 +94,7 @@ To get the latest version of the driver, add the following to your POM file:
9494
<dependency>
9595
<groupId>com.microsoft.sqlserver</groupId>
9696
<artifactId>mssql-jdbc</artifactId>
97-
<version>13.1.1.jre11-preview</version>
97+
<version>13.2.0.jre11</version>
9898
</dependency>
9999
```
100100

@@ -129,7 +129,7 @@ Projects that require either of the two features need to explicitly declare the
129129
<dependency>
130130
<groupId>com.microsoft.sqlserver</groupId>
131131
<artifactId>mssql-jdbc</artifactId>
132-
<version>13.1.1.jre11-preview</version>
132+
<version>13.2.0.jre11</version>
133133
<scope>compile</scope>
134134
</dependency>
135135

@@ -147,7 +147,7 @@ Projects that require either of the two features need to explicitly declare the
147147
<dependency>
148148
<groupId>com.microsoft.sqlserver</groupId>
149149
<artifactId>mssql-jdbc</artifactId>
150-
<version>13.1.1.jre11-preview</version>
150+
<version>13.2.0.jre11</version>
151151
<scope>compile</scope>
152152
</dependency>
153153

@@ -174,7 +174,7 @@ When setting 'useFmtOnly' property to 'true' for establishing a connection or cr
174174
<dependency>
175175
<groupId>com.microsoft.sqlserver</groupId>
176176
<artifactId>mssql-jdbc</artifactId>
177-
<version>13.1.1.jre11-preview</version>
177+
<version>13.2.0.jre11</version>
178178
</dependency>
179179

180180
<dependency>

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
apply plugin: 'java'
1313

14-
version = '13.1.1'
15-
def releaseExt = '-preview'
14+
version = '13.2.0'
15+
def releaseExt = ''
1616
def jreVersion = ""
1717
def testOutputDir = file("build/classes/java/test")
1818
def archivesBaseName = 'mssql-jdbc'

mssql-jdbc_auth_LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MICROSOFT SOFTWARE LICENSE TERMS
2-
MICROSOFT JDBC DRIVER 13.1.1 FOR SQL SERVER
2+
MICROSOFT JDBC DRIVER 13.2.0 FOR SQL SERVER
33

44
These license terms are an agreement between you and Microsoft Corporation (or one of its affiliates). They apply to the software named above and any Microsoft services or software updates (except to the extent such services or updates are accompanied by new or additional terms, in which case those different terms apply prospectively and do not alter your or Microsoft’s rights relating to pre-updated software or services). IF YOU COMPLY WITH THESE LICENSE TERMS, YOU HAVE THE RIGHTS BELOW. BY USING THE SOFTWARE, YOU ACCEPT THESE TERMS.
55

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.microsoft.sqlserver</groupId>
77
<artifactId>mssql-jdbc</artifactId>
8-
<version>13.1.1</version>
8+
<version>13.2.0</version>
99
<packaging>jar</packaging>
1010
<name>Microsoft JDBC Driver for SQL Server</name>
1111
<description>

src/main/java/com/microsoft/sqlserver/jdbc/SQLJdbcVersion.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77

88
final class SQLJdbcVersion {
99
static final int MAJOR = 13;
10-
static final int MINOR = 1;
11-
static final int PATCH = 1;
10+
static final int MINOR = 2;
11+
static final int PATCH = 0;
1212
static final int BUILD = 0;
1313
/*
1414
* Used to load mssql-jdbc_auth DLL.
1515
* 1. Set to "-preview" for preview release.
1616
* 2. Set to "" (empty String) for official release.
1717
*/
18-
static final String RELEASE_EXT = "-preview";
18+
static final String RELEASE_EXT = "";
1919

2020
private SQLJdbcVersion() {
2121
throw new UnsupportedOperationException(SQLServerException.getErrString("R_notSupported"));

src/samples/adaptive/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.microsoft.sqlserver</groupId>
1717
<artifactId>mssql-jdbc</artifactId>
18-
<version>13.1.1.jre11-preview</version>
18+
<version>13.2.0.jre11</version>
1919
</dependency>
2020
</dependencies>
2121
<profiles>

src/samples/alwaysencrypted/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<dependency>
1616
<groupId>com.microsoft.sqlserver</groupId>
1717
<artifactId>mssql-jdbc</artifactId>
18-
<version>13.1.1.jre11-preview</version>
18+
<version>13.2.0.jre11</version>
1919
</dependency>
2020
</dependencies>
2121
<profiles>

src/samples/azureactivedirectoryauthentication/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>13.1.1.jre11-preview</version>
17+
<version>13.2.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>

src/samples/connections/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<dependency>
1515
<groupId>com.microsoft.sqlserver</groupId>
1616
<artifactId>mssql-jdbc</artifactId>
17-
<version>13.1.1.jre11-preview</version>
17+
<version>13.2.0.jre11</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>

0 commit comments

Comments
 (0)