Upgrade mssql-jdbc to 13.6.2 and add a smoke-test configuration for it #592
All Vouch review confidence checks passed
Residual risk 0.39 = Change Risk (0.73) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.73 · 592 lines diff across 7 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.382
Shallow Review Depth
shallow_review_depth
0.344
Sensitive Paths
sensitive_paths
0.073
Real PR Conversation Timeline
1 comments
"Review active on #592"
general
weight: 0.35
pacmano1
Upgrades the bundled Microsoft SQL Server JDBC driver from 10.2.4.jre11 to 13.6.2.jre11, the current stable release. It also adds CI coverage for the driver, which had none.
The configuration commit comes first so the existing smoke tests were run against the old driver through the new configuration before the upgrade.
CI coverage
The existing
sqlserversmoke-test configuration connects through jTDS, somssql-jdbcwas never loaded in CI.alpine-temurin21-sqlserver-mssql-jdbcconfiguration: the Microsoft driver against SQL Server 2025. It setsdatabase.driverthrough_MP_DATABASE_DRIVERand uses ajdbc:sqlserverURL withtrustServerCertificate=truefor the container's self-signed certificate.There is no 2022 leg for the Microsoft driver: the smoke tests read column metadata with
SELECT * ... WHERE 1 = 0and never reachDatabaseMetaData.getColumns, so they cannot tell the two server versions apart for this driver.Driver upgrade
jre11build is the one Microsoft publishes for Java 11 and later; there are no jre17 or jre21 builds.jdk15onartifacts in 10.2.4 andjdk18onin 13.6.2, but both versions call the same classes, so the bundledjdk18on1.78.1 jars (the driver is built against 1.84) serve both. Claude checked that 10.2.4 and 13.6.2 each load encrypted and unencrypted PEM private keys with only the bundled jars, and did not test the enclave feature, which also needs the unbundledgson.Behavior changes for existing connections
The driver changelog from 10.2.4 to 13.6.0 lists these changes that could affect existing installations:
loginTimeoutnow defaults to 30 seconds (it was 15), and during loginsocketTimeoutis capped atloginTimeout. A server that accepts the connection but never answers now fails the login at the timeout; before, the login could wait indefinitely.getReference()no longer includes sensitive connection properties (JNDI use only).getProceduresandgetFunctionsfilter onsys.all_objects, andgetColumnspreferssp_columns_170on SQL Server 2025, falling back tosp_columns_100.ActiveDirectoryPasswordauthentication logs a deprecation warning.encrypt=truehas been the default since 10.2.0, so it does not change. The driver's changelog has no entries for 13.6.1 and 13.6.2, so any changes in those two patch releases are unchecked.Claude checked
./gradlew --write-verification-metadata sha256 build dist -PdisableSigning=true -Pcoverage=truewith a cold cache passed with the new version, and the dist bundlesmssql-jdbc-13.6.2.jre11.jar.ci/runtests.sh alpine-temurin21-sqlserver-mssql-jdbcpasses all 47 tests against SQL Server 2025 with 10.2.4 (after the first commit) and again with 13.6.2.ci/runtests.sh alpine-temurin21-sqlserver(jTDS) passes all 47 tests against SQL Server 2022../gradlew clean buildwith all tests after splitting the commits, and has not tested against a SQL Server older than 2022.Release Note
<!-- release-note -->
Microsoft SQL Server JDBC driver updated from 10.2.4 to 13.6.2
The Microsoft SQL Server driver (
com.microsoft.sqlserver.jdbc.SQLServerDriver) bundled inserver-lib/databaseis now 13.6.2. The jTDS driver, whichdatabase = sqlserverstill uses by default, is unchanged. The changes below affect connections that use the Microsoft driver, such as a Database Reader or Writer, or the engine's own database whendatabase.driveris set to it.loginTimeoutis now 30 seconds instead of 15. A server that accepts the connection but never answers now fails the login at the timeout (30 seconds, or theloginTimeout=<seconds>set in the connection URL); before, the login could wait indefinitely.getProceduresandgetFunctionsnow return only stored procedures and functions, andgetColumnsuses a newer system procedure on SQL Server 2025.ActiveDirectoryPasswordauthentication now logs a deprecation warning.Encryption was already on by default (
encrypt=true) in 10.2.4, so a connection that worked before still needs a trusted certificate ortrustServerCertificate=true, as before.<!-- /release-note -->
---
🤖 Drafted with Claude Code