Release Notes for MariaDB Connector/J 3.1.2

Overview

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:

      java.util.ConcurrentModificationException
         at java.util.Hashtable$Enumerator.next(Hashtable.java:1408)
         at org.mariadb.jdbc.Configuration.mapPropertiesToOption(Configuration.java:625)
         at org.mariadb.jdbc.Configuration.parseInternal(Configuration.java:603)
         at org.mariadb.jdbc.Configuration.parse(Configuration.java:532)
         at org.mariadb.jdbc.Driver.connect(Driver.java:96)
         at org.mariadb.jdbc.Driver.connect(Driver.java:27)
         at java.sql.DriverManager.getConnection(DriverManager.java:664)
         at java.sql.DriverManager.getConnection(DriverManager.java:270)