This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

MariaDB Connector/J 3.0.5 Release Notes

The most recent Stable (GA) release of MariaDB Connector/J is:
MariaDB Connector/J 3.5.0

Download Release Notes Changelog Connector/J Overview

Release date: 25 May 2022

MariaDB Connector/J 3.0.5 is a Stable (GA) release.

For an overview of MariaDB Connector/J see the About MariaDB Connector/J page

Notable Changes

  • `CONJ-958` 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-961` LOAD DATA LOCAL INFILE is now enabled by default on the client side, for compatibility with MariaDB Connector/J 2.7.
    • 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.
    • This might cause Batch performance regression. In case of non use of LOCAL DATA LOCAL INFILE, disable option `allowLocalInfile` explicitly can improve performance.

Bugs Fixed

  • `CONJ-956` ArrayIndexOutOfBoundsException when alias length > 250
  • `CONJ-947` value after milliseconds precision lost when timestamp is encoded
  • `CONJ-949` keep clientCertificateKeyStoreUrl and clientCertificateKeyStoreUrl aliases
  • `CONJ-950` metadata TEXT/TINYTEXT/MEDIUMTEXT/LONGTEXT wrong column type and length
  • `CONJ-954` java.time.OffsetDateTime not supported
  • `CONJ-958` compatibility with 2.7: now loop through hosts when multiple host without failover mode
  • `CONJ-959` java.time.Instant not supported
  • `CONJ-962` resultset for negative TIME value return erronous LocalDateTime values
  • `CONJ-965` better error message when not loading serverSslCert file
  • `CONJ-967` clearParameters() breaks validity when using output parameters in stored procedures
  • `CONJ-969` org.mariadb.jdbc.ClientPreparedStatement is missing a toString implementation, useful for logging

Changelog

For a complete list of changes made in MariaDB Connector/J 3.0.5, with links to detailed information on each push, see the changelog.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.