Skip to content

Commit 07a6dff

Browse files
authored
Updates for 13.3.1 preview release (#2877)
* Updates for 13.3.1 preview relesae * Removed newline * Formatting changes
1 parent ee978e8 commit 07a6dff

File tree

15 files changed

+96
-18
lines changed

15 files changed

+96
-18
lines changed

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,84 @@
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.3.1] Preview Release
6+
7+
### Added
8+
9+
- **Introduce prepareMethod=scopeTempTablesToConnection for PreparedStatements with temp tables** [#2844](https://github.com/microsoft/mssql-jdbc/pull/2844)
10+
**What was added**: New prepareMethod option that scopes temporary tables created in prepared statements to the connection by using literal parameter substitution instead of server-side prepared handles.
11+
**Who benefits**: Developers using temporary tables (#temp) inside PreparedStatement executions.
12+
**Impact**: Ensures temporary tables remain visible across executions of different prepared statements/statements within the same connection.
13+
14+
- **Send User Agent Information via TDS Feature Extension** [#2848](https://github.com/microsoft/mssql-jdbc/pull/2848)
15+
**What was added**: User agent telemetry is sent to SQL Server using a new LOGIN7 TDS Feature Extension (USERAGENT).
16+
**Who benefits**: Platform owners and maintainers analyzing driver usage patterns and runtime environments.
17+
**Impact**: Improves telemetry accuracy and enables data-driven testing and support decisions without affecting application behavior.
18+
19+
- **Enable Vector and JSON Tests on SQL Server 2025** [#2846](https://github.com/microsoft/mssql-jdbc/pull/2846)
20+
**What was added**: Test coverage for vector and JSON features on SQL Server 2025 with a new xSQLv17 test tag.
21+
**Who benefits**: Contributors validating driver compatibility with the latest SQL Server release.
22+
**Impact**: More testing coverage increases confidence in SQL Server 2025 vector and JSON functionality.
23+
24+
- **Enhance Code Coverage for SQLServerResultSet** [#2870](https://github.com/microsoft/mssql-jdbc/pull/2870)
25+
**What was added**: Expanded unit test coverage for SQLServerResultSet.
26+
**Who benefits**: Driver maintainers and contributors.
27+
**Impact**: Improves long-term stability and regression detection.
28+
29+
### Changed
30+
31+
- **Update bundle-version in Manifest to Include JRE Suffix** [#2876](https://github.com/microsoft/mssql-jdbc/pull/2876)
32+
**What changed**: Bundle-Version in the manifest now includes the jre8 / jre11 suffix to match the JAR file name.
33+
**Who benefits**: Users and tooling relying on OSGi metadata consistency.
34+
**Impact**: Aligns manifest metadata with published artifacts and avoids ambiguity.
35+
36+
### Fixed
37+
38+
- **SQL Server Integrity Enhancement Support in supportsIntegrityEnhancementFacility** [#2745](https://github.com/microsoft/mssql-jdbc/pull/2745)
39+
**What was fixed**: Corrected metadata reporting to reflect SQL Server’s support for integrity constraints.
40+
**Who benefits**: Applications relying on JDBC metadata to determine database capabilities.
41+
**Impact**: Ensures accurate reporting of primary key, foreign key, check, unique, and NOT NULL constraint support.
42+
43+
- **Fix Geography Coordinate Parsing with Scientific Notation** [#2837](https://github.com/microsoft/mssql-jdbc/pull/2837)
44+
**What was fixed**: Prevented NumberFormatException when parsing Geography coordinates expressed in scientific notation.
45+
**Who benefits**: Applications working with very small spatial coordinate values.
46+
**Impact**: Enables correct handling of negative exponents in WKT parsing.
47+
48+
- **Bulk Copy Batch Insert: Proper Fallback for SQL Functions** [#2845](https://github.com/microsoft/mssql-jdbc/pull/2845)
49+
**What was fixed**: Automatic fallback to standard batch execution when SQL functions are used in bulk copy batch inserts.
50+
**Who benefits**: Users executing PreparedStatement.executeBatch() with expressions like len(?) or encryption functions.
51+
**Impact**: Prevents bulk copy failures while preserving performance for compatible statements.
52+
53+
- **Fix Bulk Copy Batch Insert with Persisted Computed Columns** [#2855](https://github.com/microsoft/mssql-jdbc/pull/2855)
54+
**What was fixed**: Corrected destination column validation logic to ignore computed persisted columns in bulk copy batch insert.
55+
**Who benefits**: Users performing bulk inserts into tables with computed columns.
56+
**Impact**: Prevents false “invalid column mapping” errors and restores bulk copy compatibility.
57+
58+
- **Fix DatabaseMetaData.getIndexInfo() Collation Conflict in UNION ALL** [#2867](https://github.com/microsoft/mssql-jdbc/pull/2867)
59+
**What was fixed**: Resolved collation conflicts when server and database collations differ in the query executed by getIndexInfo call.
60+
**Who benefits**: Applications querying index metadata in mixed-collation environments.
61+
**Impact**: Ensures reliable metadata retrieval by applying COLLATE DATABASE_DEFAULT consistently.
62+
63+
- **Fix getSchemas() Returning NULL TABLE_CATALOG for Built-in Schemas** [#2872](https://github.com/microsoft/mssql-jdbc/pull/2872)
64+
**What was fixed**: Corrected catalog resolution logic for built-in schemas like dbo, sys etc.
65+
**Who benefits**: Applications consuming schema metadata.
66+
**Impact**: Ensures JDBC-compliant catalog reporting for all schemas.
67+
68+
- **Fix Statement.execute() Skipping Update Count After Batch Error** [#2866](https://github.com/microsoft/mssql-jdbc/pull/2866)
69+
**What was fixed**: Prevented loss of valid update counts following an error in mixed batch execution.
70+
**Who benefits**: Applications using Statement.execute() with mixed DML and query batches.
71+
**Impact**: Restores correct JDBC result traversal semantics after exceptions.
72+
73+
- **Support IP Address Validation in Certificate SAN** [#2873](https://github.com/microsoft/mssql-jdbc/pull/2873)
74+
**What was fixed**: Added RFC 5280–compliant IP address validation in SSL certificate SAN checks.
75+
**Who benefits**: Users connecting via IP address over TLS.
76+
**Impact**: Removes need for hostname workarounds while preserving strict security guarantees.
77+
78+
- **Fix TVP Type Name Collision in CallableStatement Tests** [#2869](https://github.com/microsoft/mssql-jdbc/pull/2869)
79+
**What was fixed**: Eliminated test failures caused by table-valued parameter type name collisions.
80+
**Who benefits**: Contributors and CI pipelines.
81+
**Impact**: Improves test reliability without affecting runtime behavior.
82+
583
## [13.3.0] Preview Release
684

785
### 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.3.0.jre11-preview</version>
86+
<version>13.3.1.jre11-preview</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.3.0.jre11-preview</version>
97+
<version>13.3.1.jre11-preview</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.3.0.jre11-preview</version>
132+
<version>13.3.1.jre11-preview</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.3.0.jre11-preview</version>
150+
<version>13.3.1.jre11-preview</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.3.0.jre11-preview</version>
177+
<version>13.3.1.jre11-preview</version>
178178
</dependency>
179179

180180
<dependency>

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ plugins {
1313
id 'java'
1414
}
1515

16-
version = '13.3.0'
16+
version = '13.3.1'
1717
def releaseExt = '-preview'
1818
def jreVersion = ""
1919
def testOutputDir = file("build/classes/java/test")

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.3.0 FOR SQL SERVER
2+
MICROSOFT JDBC DRIVER 13.3.1 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.3.0</version>
8+
<version>13.3.1</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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
final class SQLJdbcVersion {
99
static final int MAJOR = 13;
1010
static final int MINOR = 3;
11-
static final int PATCH = 0;
11+
static final int PATCH = 1;
1212
static final int BUILD = 0;
1313
/*
1414
* Used to load mssql-jdbc_auth DLL.

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.3.0.jre11-preview</version>
18+
<version>13.3.1.jre11-preview</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.3.0.jre11-preview</version>
18+
<version>13.3.1.jre11-preview</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.3.0.jre11-preview</version>
17+
<version>13.3.1.jre11-preview</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.3.0.jre11-preview</version>
17+
<version>13.3.1.jre11-preview</version>
1818
</dependency>
1919
</dependencies>
2020
<profiles>

0 commit comments

Comments
 (0)