MariaDB Connector/J 3.5.1 Release Notes

You are viewing an old version of this article. View the current version here.

Download Release Notes Changelog Connector/J Overview

Note: This page describes features in an unreleased version of MariaDB Connector/J.

Unreleased means there are no official packages or binaries available for download which contain the features. The source code is available on GitHub.

Release date: ?? Nov 2024 MariaDB Connector/J 3.5.1 is a Stable (GA) release.

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

The MariaDB Connector/J 3.5 release series is replacing the maintenance releases for the 3.4 release series, as the new release series is fully compatible with 3.4.

Notable changes

PARSEC Authentication - CONJ-1193

Support of the PARSEC Authentication Plugin which is provided starting with MariaDB Server 11.6. See parsec documentation for more details.

This requires java 15+ (to use java native ed25519 Algorithm implementation). For previous versions of java, this will require adding BouncyCastle as dependency.

While initially documented in 3.5.0, this feature was not in the released version.

New HaMode: sequential write, loadbalance read - CONJ-1207

When running a multi-master cluster (i.e. Galera), writing to more than one node can lead to optimistic locking errors ("deadlocks"). Writing concurrently to multiple nodes also doesn't bring a whole lot of performance, due to having to (synchronously) replicate to all 3 nodes anyway. High availability mode “Load-balance-read” permits the use of masters in order (first master only, or the next only if first master fails) while distributing the load on replicas.

Example of connection string: jdbc:mariadb:load-balance-read://127.0.0.5,127.0.0.6,address=(host=127.0.0.7)(type=replica),address=(host=127.0.0.8)(type=replica)/DB

Bugs Fixed

  • CONJ-1208 Permit bulk for INSERT ON DUPLICATE KEY UPDATE commands for 11.5.1+ servers
    • Since MDEV-30366, the server can return appropriate detailed answers. This was implemented, but not for specific INSERT ON DUPLICATE KEY UPDATE commands.
  • CONJ-1053 Mark waffle-jna dependency optional in module descriptor
  • CONJ-1196 setObject on java.util.Date was considered was a java.sql.Date and truncate hour/minutes/seconds/ms while it must be considered like a java.sql.Timestamp
  • CONJ-1211 JDBC 4.3 enquoteIdentifier missing validation
    • identifier containing only number must be quoted, even if `alwaysQuote` parameter is set to false
    • length validation must be done (< 64 characters).
  • CONJ-1213 sql command ending with semicolon and trailing space are not using bulk

Changelog

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

Comments

Comments loading...
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.