All pages
Powered by GitBook
1 of 2

Loading...

Loading...

Connector/J 3.2.0 Release Notes

Download | Release Notes | Changelog |

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.

This is the last release of the 3.2 release series as the release series 3.3 is compatible and is therefore replacing 3.2 as the maintenance releases.

Notable Changes

Batch Bulk behavior

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

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

  • Implement databaseTerm option for mysql compatibility

  • adding option useLocalSessionState to permit avoiding queries when application only use JDBC methods.

Bugs Fixed

  • LOAD DATA INFILE is broken on windows

  • getGeneratedKeys after batch will not return all generated id's if first batch command return no generated id.

  • maridb Java connector sslMode=verify-ca complaining unable to find trust certificate.

  • Multiple session system variables parsing fails

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 .

CONJ-1083 Using /client prepare/ prefix to force client side prepared statement

  • CONJ-1091 can't make a connection when the Read Replica DB is in a hang state when SocketTimeout=0 set

  • CONJ-1092 ensure respecting server collation

  • CONJ-1094 Missing mariadb/mysql collation

  • CONJ-920
    CONJ-1084
    CONJ-1088
    CONJ-1096
    CONJ-1075
    CONJ-1079
    CONJ-1080
    CONJ-1082
    changelog

    Connector/J 3.2 Release Notes

    Release Notes for MariaDB Connector/J 3.2 series

    For an overview of MariaDB Connector/J see the page

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    About MariaDB Connector/J
    About MariaDB Connector/J
    MariaDB Connector/J

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