Connector/J 3.2.0 Release Notes

circle-info

Downloadarrow-up-right | Release Notes | Changelog | About MariaDB Connector/J

Release date: 25 Aug 2023

MariaDB Connector/J 3.2.0 is a Stable (GA) release. It is replacing 3.1 as the maintenance releases.

circle-exclamation
circle-info

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

Notable Changes

Batch Bulk behavior

CONJ-920arrow-up-right

Bulk batching enabled by default (option useBulkStmts) with permit super fast batching, but batch return array of update counts with Statement.SUCCESS_NO_INFO values. The problem is that application using optimistic locking fails, expecting exact return value.

useBulkStmts is now defaulting to false, with the addition of a new option useBulkStmtsForInserts, enabled by default permit to enable bulk for insert command only. This permit to have return values in batching return value, for all cases, permitting optimistic behavior.

This default values are more appropriate for all kind of application. If application doesn't use optimistic locking, enabling useBulkStmts is then more appropriate, because UPDATE and DELETE commands in batch will then use faster BULK implementation.

Maxscale improvement

CONJ-1084arrow-up-right

When using maxscale 23.08.0+, when a maxscale node fails, connector will now priorize reconnection to the maxscales nodes having less connections, to ensure connections repartition after failover. This allows a faster return to normal

other features

Bugs Fixed

Changelog

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

This page is: Copyright © 2025 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?