Release Notes for MariaDB Connector/J 2.7.4


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

MariaDB Connector/J 2.7.4 was released on 2021-08-10. This release is of General Availability (GA) maturity. This release is compatible with JDBC 4.2.

Issues Fixed

  • Socket not closed after SocketTimeoutException, leaving the socket and connection in an active state after timeout. (CONJ-863)

  • Prepared queries executed in parallel with automatic key generation throw IndexOutOfBoundsException exceptions. (CONJ-873)

  • MariaDbPoolDataSource leaks connections when MariaDB Server is restarted. (CONJ-884)

  • SQLException missing from an addConnection method in the org.mariadb.jdbc.internal.util.pool.Pool class. (CONJ-885)

  • CallableStatement using function throws wrong error on getter. (CONJ-889)

  • getImportedKeys and getTables regression returns empty result-set for null/empty catalogs. (CONJ-890)

  • DatabaseMetaData.getColumns regression causes TINYINT(x)TINYINT(x) where x is greater than 1 to return BITBIT type instead of TINYINTTINYINT. (CONJ-893)