Release Notes for MariaDB Connector/J 3.0.8
This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: Release Notes for MariaDB Connector/J 3.0
Topics on this page:
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.0.8 was released on 2022-09-20. This release is of General Availability (GA) maturity.
Performance improved for prepared statement parsing. (CONJ-1010)
galeraAllowedStateconnection option is used in a connection string, an
IndexOutOfBoundsExceptionexception is raised. (CONJ-997)
When catalog is initialized using
Connection.setCatalog(String)and not in the connection string (for example by using Apache Tomcat option
defaultCatalog), a connection after a failover or connection error does not set the default database resulting in an error like: (CONJ-1002)
java.util.concurrent.CompletionException: java.lang.InterruptedException: (conn=31) No database selected
When the replication HA mode is used (by specifying
mariadb:replication://), only the first replica listed in the connection string is used, so load balancing is not performed. (CONJ-1003)
BatchUpdateExceptiondoesn't inherit the
vendorCodefrom the causing SQL exception. (CONJ-996)
When connecting by Unix socket, socket file descriptors are not properly closed if the attempt is made to connect when the database is not online (Unix socket path does not exist or connection fails). (CONJ-1007)
When connecting to MariaDB Server nodes in replication or load balancing mode with the
createDatabaseIfNotExistoption set, MariaDB Connector/J is executing
CREATE DATABASE IF NOT EXISTSon the primary and any replicas when it should create the database only on the primary node. (CONJ-999)
MariaDB Connector/J 3.0 has been superseded by MariaDB Connector/J 3.1, which is fully compatible with MariaDB Connector/J 3.0. For upgrade instructions: