Release Notes for MariaDB Connector/J 2.7.6

Overview

MariaDB Connector/J is an interface between Java applications and MariaDB Server. MariaDB Connector/J enables the development of Java 8, Java 11, and Java 17 applications for MariaDB database products.

This maintenance release of MariaDB Connector/J 2.7 was released 2022-06-29. This release is compatible with JDBC 4.2.

Notable Changes

  • Starting with this release, some of MariaDB Connector/J's important log messages include the connection ID for easier correlation when comparing against the server-side logs.

Issues Fixed

  • When a MariaDB Connector/J thread tries to acquire an internal ReentrantLock, the thread can hang. (CONJ-983)

    • The following scenarios are known to cause this issue:

      1. When a thread is executing a CallableStatement, a hang can occur if another thread tries to close the same CallableStatement during execution.

      2. When a thread is executing batch statements and a query timeout occurs, a hang can occur if another thread executes the timeout function while the first thread is returning results. CancellationException is not cached which leads to skipping the lock.unlock().