Release Notes for MariaDB Connector/J 3.1.2


MariaDB Connector/J is a lightweight JDBC driver (Type 4) for building applications on top of MariaDB database products with Java 8, Java 11, and Java 17.

This release is compatible with JDBC 4.2.

MariaDB Connector/J 3.1.2 was released on 2023-01-24. This release is of General Availability (GA) maturity.

Issues Fixed

  • When MariaDB Connector/J writes to its packet buffer, it can throw an ArrayIndexOutOfBoundsException exception. (CONJ-1041)

  • When MariaDB Connector/C parses the properties of a connection, it can throw a ConcurrentModificationException exception. (CONJ-1040)

    • In previous releases, the ConcurrentModificationException could be thrown with the following stack trace:

         at java.util.Hashtable$
         at org.mariadb.jdbc.Configuration.mapPropertiesToOption(
         at org.mariadb.jdbc.Configuration.parseInternal(
         at org.mariadb.jdbc.Configuration.parse(
         at org.mariadb.jdbc.Driver.connect(
         at org.mariadb.jdbc.Driver.connect(
         at java.sql.DriverManager.getConnection(
         at java.sql.DriverManager.getConnection(