Release Notes for MariaDB Connector/J 3.3.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, Java 17, and Java 21.

This release is compatible with JDBC 4.2.

MariaDB Connector/J 3.3.2 was released on 2023-12-19. This release is of General Availability (GA) maturity.

Issues Fixed

  • new option returnMultiValuesGeneratedIds for connector 2.x compatibility, so getGeneratedKeys() return all ids of multi-value inserts (CONJ-1117)

  • regression causing ClassCastException on DatabaseMetaData when use with option defaultFetchSize set (CONJ-1140)

  • Metadata.getPrimaryKeys table comparison using like in place of strict equality (CONJ-1129)

  • ensuring batch parameter are cleared after SQL Failure (CONJ-1130)

  • NullPointerException when Calling getGeneratedKeys() after an SQL Failure (CONJ-1131)

  • Ensuring resetting result for getUpdateCount() after an SQL Failure (CONJ-1132)

  • ensuring BULK command not used when using INSERT ON DUPLICATE KEY UPDATE in order to always have unique affected rows by default (CONJ-1135)

  • wrong decoding for Resultset.getByte() results for binary VARCHAR fields (CONJ-1136)

  • ensuring never having NPE in OkPacket when setting auto commit (CONJ-1137)

  • Inconsistency in Behavior of PreparedStatement After closeOnCompletion() Between MariaDB and MySQL Connectors (CONJ-1138)

  • Metadata getTableTypes result was not ordered by TABLE_TYPE (CONJ-1049)