Release Notes for MariaDB Connector/J 3.0.5
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.5 was released on 2022-05-25. This release is of General Availability (GA) maturity.
When multiple hosts are defined in the connection URL and no failover or load balancing mode is used, MariaDB Connector/J will try the hosts sequentially until a connection is successful. (CONJ-958)
LOAD DATA LOCAL INFILEis now enabled by default on the client side, for compatibility with MariaDB Connector/J 2.7. (CONJ-961)
The connector validates that only the filename used in the original request will be provided, to prevent a man-in-the-middle change of the filename.
When an alias length > 250 bytes is used, an
ArrayIndexOutOfBoundsExceptionis thrown. (CONJ-956)
The timestamp value only saves data in milliseconds precision even when MariaDB Server supports microseconds. (CONJ-947)
Using the properties
clientCertificateKeyStoreUrlcan result in an
java.sql.SQLInvalidAuthorizationSpecException: (conn=484) Access denied for user '####'@'####' (using password: YES)
keyStorePasswordwere previously removed and have now been restored.
Wrong text type names and length in result set metadata for
SQLExceptionis thrown (CONJ-954):
java.sql.SQLException: Type java.time.OffsetDateTime not supported type
SQLExceptionis thrown (CONJ-959):
java.sql.SQLException: Type java.time.Instant not supported type
When a negative
TIMEvalue is used with
Resultset.getObject(<int>, LocalDateTime.class)an erroneous value is returned. (CONJ-962)
serverSslCertfile cannot be loaded, a generic error message is thrown. This made error diagnosis difficult. (CONJ-965)
When using output parameters in stored procedures, the callable statement
OUTPUTparameters into account when clearing parameters. (CONJ-967)
org.mariadb.jdbc.ClientPreparedStatementis missing a
toStringimplementation, which is useful for logging. (CONJ-969)
When executing a prepared statement, a
java.lang.ClassCastExceptionmay be returned due to a concurrency problem. (CONJ-972)
ClientPreparedStatementuses a large amount of memory for caching. (CONJ-973, CONJ-972)
MariaDB Connector/J 3.1 is compatible with MariaDB Connector/J 3.0. For upgrade information use: