All pages
Powered by GitBook
1 of 1

Loading...

Connector/J 3.5.0 Release Notes

Download | Release Notes | Changelog |

Release date: 24 Oct 2024

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

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 -

Support of the PARSEC Authentication Plugin which is provided starting with MariaDB Server 11.6. See 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.

New options truststore, trustStorePassword and trustStoreType -

Those options permit the use of a specific truststore that differs from the Java default truststore. This has been added for MariaDB 2.x and MySQL connector compatibility. See

New option connectionCollation -

The Connector is using the utf8mb4 charset per default when establishing a connection. ‘connectionCollation’ can be used to define which utf8mb4 collation should be used. If not set the server default collation for utf8mb4 will be used.

Starting with we recommend to instead set

Support for methods setObject/getObject and setArray/getArray -

This addition is a preparation for the Vector support of MariaDB Server

Example of Array:

Resultset:

Bugs Fixed

  • A change of the collation via a session variable might be ignored

  • Incorrect default behavior for forceConnectionTimeZoneToSession

    • NOTE: If client and server use different time zones and no timezone options where used, MariaDB Connector/J 3.4 introduces a change which is forcing client timezone to the session. This behavior is an not intended incompatibility change compared to MariaDB Connector/J 3.3, which is corrected in MariaDB Connector/J 3.5 with this change

Changelog

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

CONJ-1200 Batch import fails with exception "Unknown command"
  • CONJ-1187 Throw exception type SQLTimeoutException instead of SQLNonTransientConnectionException for connection timeouts

  • CONJ-1193
    CONJ-1183
    CONJ-1199
    MariaDB 11.4
    CONJ-1205
    CONJ-1202
    CONJ-1201
    changelog
    Array valArray = connection.createArrayOf("float", new float[] {1, 2, 3}); 
    try (PreparedStatement prep = 
    connection.prepareStatement("INSERT INTO BinaryCodec(t0, t1) VALUES (?, ?, ?)")) { 
    prep.setInt(1, 1); 
    prep.setArray(2, valArray); 
    prep.setObject(3, new float[] {4, 5, 6}); 
    prep.execute(); 
    }
    Array resArray = rs.getArray(2); 
    float[] res = rs.getObject(2, float[].class);

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    About MariaDB Connector/J
    documentation
    MariaDB Connector/J

    For an overview of MariaDB Connector/J see the page

    About MariaDB Connector/J
    parsec documentation
    character_set_collations

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