Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-6885

Bump Microsoft SQL Server JDBC driver to 13.2.1

XMLWordPrintable

    • Icon: Component Upgrade Component Upgrade
    • Resolution: Done-Errata
    • Icon: Major Major
    • 3.27.1.GA
    • None
    • team/eng
    • None

      Changelog (since 13.2.0):

      [13.2.1] Hotfix & Stable Release Latest
      Added

      Enable Vector data type tests on Azure SQL Database
      microsoft/mssql-jdbc#2762
      What was added: Vector data type tests are now enabled to run against Azure SQL Database.
      Who benefits: Developers testing VECTOR functionality in Azure SQL DB environments.
      Impact: Ensures VECTOR data type support test coverage.

      Enable JSON data type tests on Azure SQL Database
      microsoft/mssql-jdbc#2756
      What was added: JSON data type tests are now enabled to run against Azure SQL Database.
      Who benefits: Developers testing JSON functionality in Azure SQL DB environments.
      Impact: Ensures JSON data type support test coverage.

      Changed

      Revert function/procedure filtering via sys.all_objects
      microsoft/mssql-jdbc#2751
      What changed: Reverted microsoft/mssql-jdbc#2705 change that used sys.all_objects for filtering. Restores previous behavior to maintain consistency across metadata APIs.
      Who benefits: Developers using getProcedures() and getFunctions() in JDBC.
      Impact: Preserves compatibility with numbered procedures and avoids discrepancies between APIs.

      Fixed issues

      Address a hostname validation vulnerability by securely parsing certificate common names.
      microsoft/mssql-jdbc#2801
      What was fixed: Secure hostname validation is enforced by replacing the vulnerable CN parsing logic in SQLServerCertificateUtils.java, preventing spoofing attacks.
      Who benefits: All users of the SQL Server JDBC driver, especially those relying on TLS for secure connections, benefit from improved certificate validation.
      Impact: This fix closes a security gap, protecting applications from man-in-the-middle attacks and ensuring compliance with security best practices.

      JDK 8 compatibility for vector datatype handling
      microsoft/mssql-jdbc#2750
      What was fixed: Ensured fallback to JVM system property javax.net.ssl.trustStoreType if connection property is unset.
      Who benefits: Users configuring SSL via system properties.
      Impact: Enables proper SSL trust store resolution, improving compatibility with system configurations.

      PreparedStatement getGeneratedKeys() failure with triggers
      microsoft/mssql-jdbc#2742
      What was fixed: Fixed error "The statement must be executed before any results can be obtained" when using insert triggers with generated keys.
      Who benefits: Developers retrieving generated keys from inserts with triggers.
      Impact: Restores correct behavior for both update count accuracy and generated keys retrieval in trigger scenarios.

      Byte Buddy dependency scope
      microsoft/mssql-jdbc#2755
      What was fixed: Corrected Byte Buddy (1.15.11) dependency scope to test instead of compile.
      Who benefits: Developers and users of runtime artifacts.
      Impact: Reduces runtime artifact size (~8 MB) and ensures Byte Buddy is only included for unit tests.

      DatabaseMetaData.getIndexInfo() NON_UNIQUE value inconsistency
      microsoft/mssql-jdbc#2773
      What was fixed: Fixed incorrect NON_UNIQUE values due to mismatched handling of sp_statistics and sys.indexes.
      Who benefits: Applications depending on accurate index metadata.
      Impact: Provides consistent value of NON_UNIQUE field across SQL Server and Azure Synapse Analytics.

      DatabaseMetaData.getIndexInfo() invalid cursor position exception
      microsoft/mssql-jdbc#2763
      What was fixed: Fixed SQLException: Invalid cursor position caused when calling ResultSet.next() after exhaustion due to CachedRowSet strict cursor validation.
      Who benefits: Developers consuming metadata via DatabaseMetaData.getIndexInfo() on SQL Server or Azure Synapse DW.
      Impact: Replaces CachedRowSet merging with a UNION ALL query, ensuring standard JDBC cursor behavior while maintaining columnstore index support.

              jmartisk@redhat.com Jan Martiska
              msochure@redhat.com Miroslav Sochurek
              Fedor Dudinskii Fedor Dudinskii
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: