All pages
Powered by GitBook
1 of 9

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Connector/J 3.5.7 Release Notes

Download Release Notes Changelog

Release date: 17 Dec 2025

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

Notable changes

  • Added TLS SNI (Server Name Indication) support

  • Added MariaDbDataTruncation exception that includes MariaDB error code and error message

Bugs Fixed

  • Fixed ConnectionPoolDataSource incompatibility and connection leaks due to internal ConnectionEventListener in MariaDB Connector/J 3.5.x

  • Fixed MariaDbPoolPinnedConnection thread-safety issue

  • Fixed rewriteBatchedStatements introduced in 3.5.6 bug when having parenthesis after VALUES parts

  • Fixed authentication plugin multi-exchange prefix (0x01) handling introduced in MDEV-37554

Changelog

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

CONJ-1290 Fixed NullPointerException in MultiPrimaryReplicaClient

  • CONJ-1295 Fixed MariaDbClob compilation with JDK 26+

  • CONJ-1282
    CONJ-1271
    CONJ-1291
    CONJ-1286
    CONJ-1283
    CONJ-1287
    changelog

    Connector/J 3.5 Release Notes

    Release Notes for MariaDB Connector/J 3.5 series

    Connector/J 3.5.6 Release Notes

    Download Release Notes Changelog

    Release date: 11 Sep 2025

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

    Notable changes

    • Implemented rewriteBatchStatements functionality ()

    • Added server prepared statement fallback to client prepared statements ()

    Bugs Fixed

    • Corrected cache enablement to match 2.x behavior ()

    • Added table name metadata support for MariaDB 12.1 following ()

    • Fixed support for multiple commands in the initSql configuration option ()

    • Fixed Connection#isValid(int timeout) to properly respect the timeout parameter when network connectivity is lost ()

    Changelog

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

    CONJ-1238
    CONJ-1238
    CONJ-1278
    MDEV-28933
    CONJ-1279
    CONJ-1280
    CONJ-1276
    changelog

    Connector/J 3.5.5 Release Notes

    Download Release Notes Changelog

    Release date: 8 Aug 2025

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

    Bugs Fixed

    • ensure rollback and release savepoint operation to be sent to server, even when there is no transaction in progress ()

    • forceConnectionTimeZoneToSession doesn't always set the timezone to server ()

    Changelog

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

    Connector/J 3.5.4 Release Notes

    Release date: 1 Jul 2025

    MariaDB Connector/J 3.5.4 is a (GA) release.

    Notable Changes

    Connector/J 3.5.2 Release Notes

    | Release Notes | |

    Release date: 11 Feb 2025

    MariaDB Connector/J 3.5.2 is a (GA) release.

    Notable change

    Added caching option for loadCodecs results to improve performance (CONJ-1261)

    • Added new option

    Bugs Fixed

    • Fixed incorrect type definitions in DatabaseMetaData.getTypeInfo() (CONJ-1234)

    • Resolved potential race condition that could cause NullPointerException (CONJ-1247)

    • avoids redundant queries for CallableStatement.getParameterMetaData() (CONJ-1250)

    • Fixed SSL configuration issue where zero SSL settings only functioned without explicit SSL configuration ()

    • Resolved GSSAPI authentication error when server exchanges begin with 0x01 byte ()

    • Corrected DatabaseMetadata.getTypeInfo() returning incorrect values for AUTO_INCREMENT, FIXED_PREC_SCALE, and CASE_SENSITIVE fields ()

    • Fixed getString method on BIT(1) fields to properly honor transformedBitIsBoolean configuration ()

    • Enhanced metadata compatibility with MariaDB version 12.0 ()

    • Improved performance of DatabaseMetaData.getExportedKeys method ()

      • Added new option

    • Fixed issue to ensure correct catalog name is returned ()

    Changelog

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

    Download
    Release Notes
    Changelog
    Stable
    CONJ-1229 Permit executeQuery commands to not return a result-set

    Bugs Fixed

    • CONJ-1228 The method result-set.getObject(val) for a field of type BLOB returns an object of type Blob by default instead of the expected object of type byte[].

      • The following methods are not affected

        • resultset.getBytes(val)

        • resultset.getBlob(val)

        • resultset.getObject(val, byte[].class)

        • resultset.getObject(val, Blob.class) all returns expected type)

    • System throws an SQLTimeoutException prematurely without checking all available connections

    • DatabaseMetadata.getTypeInfo() is missing the data types UUID and VECTOR

    • Incorrect behavior where XA connections are closed when regular connections are terminated - this is against JDBC specifications

    • When using the parameter trustCertificateKeyStorePassword, alias for trustStorePassword, an exception is thrown

    • The connection option disconnectOnExpiredPasswords was not handled by the connector..It controls the client behavior when connecting with an expired password.

      • When set to true (default), the client disconnects if it detects an expired password.

      • When false, the client maintains the connection and allows setting a new password.

    Changelog

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

    Download
    Changelog
    Stable
    CONJ-1265
    CONJ-1270
    changelog

    Connector/J 3.5.0 Release Notes

    | Release Notes | |

    Release date: 24 Oct 2024

    MariaDB Connector/J 3.5.0 is a (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

    Connector/J 3.5.1 Release Notes

    | Release Notes | |

    Release date: 20 Nov 2024

    MariaDB Connector/J 3.5.1 is a (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 - CONJ-1193

    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 - CONJ-1183

    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 - CONJ-1199

    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 MariaDB 11.4 we recommend to instead set

    Support for methods setObject/getObject and setArray/getArray - CONJ-1205

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

    Example of Array:

    Resultset:

    Bugs Fixed

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

    • CONJ-1201 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

    • Batch import fails with exception "Unknown command"

    • Throw exception type SQLTimeoutException instead of SQLNonTransientConnectionException for connection timeouts

    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 changelog.

    Download
    Changelog
    Stable
    PARSEC Authentication - CONJ-1193

    Support of the PARSEC Authentication Plugin which is provided starting with MariaDB Server 11.6. See 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 High Availability Mode With Loadbalancing For Reads - CONJ-1207

    When running a multi-master cluster (i.e. MariaDB Cluster with Galera), writing to more than one node can lead to optimistic locking errors ("deadlocks") in some use cases. Writing concurrently to multiple nodes also doesn't result in performance improvements, due to having to synchronously replicate to all nodes. The new high availability mode “Load-balance-read” permits the use of masters in a failover manner (try first master, the next one if the first master fails) while distributing the load on replicas.

    Example of connection string:

    Equivalent of:

    In the example the hosts 127.0.0.5, 127.0.0.6 will be used for writes, in a failover manner. 127.0.0.6,127.0.0.7 are of type replica, read load balancing will be used.

    Permit bulk for INSERT ON DUPLICATE KEY UPDATE commands for 11.5.1+ servers - CONJ-1208

    Since MDEV-30366, the server can return appropriate detailed answers. This was implemented, but not for specific INSERT ON DUPLICATE KEY UPDATE commands.

    Bugs Fixed

    • CONJ-1053 waffle-jna dependency is not declared optional in the module description

    • CONJ-1196 setObject on java.util.Date is en/decode as java.sql.Date and truncates hour/minutes/seconds/ms while it must be en/decode like a java.sql.Timestamp

    • CONJ-1211 JDBC 4.3 enquoteIdentifier missing validation

      • An identifier containing only number must be quoted, even if alwaysQuote parameter is set to false

      • Length validation must be done (< 64 characters).

    • SQL commands 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.

    Download
    Changelog
    Stable
    CONJ-1251
    CONJ-1252
    CONJ-1254
    CONJ-1255
    CONJ-1259
    CONJ-1260
    CONJ-1256
    CONJ-1225
    CONJ-1221
    CONJ-1218
    CONJ-1217
    CONJ-660
    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);
    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
    jdbc:mariadb:load-balance-read://address=(host=127.0.0.5)(type=primary),address=(host=127.0.0.6)(type=primary),address=(host=127.0.0.7)(type=replica),address=(host=127.0.0.8)(type=replica)/DB
    CONJ-1200
    CONJ-1187

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    For an overview of MariaDB Connector/J see the page

    CONJ-1213

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    For an overview of MariaDB Connector/J see the page

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    For an overview of MariaDB Connector/J see the page

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    For an overview of MariaDB Connector/J see the page

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    For an overview of MariaDB Connector/J see the page

    For an overview of MariaDB Connector/J see the page

    For an overview of MariaDB Connector/J see the page

    Connector/J Overview
    About MariaDB Connector/J
    Connector/J Overview
    MariaDB Connector/J
    About MariaDB Connector/J
    Connector/J Overview
    MariaDB Connector/J
    About MariaDB Connector/J
    Connector/J Overview
    cachedCodecs
    metaExportedKeys
    About MariaDB Connector/J
    About MariaDB Connector/J
    MariaDB Connector/J
    About MariaDB Connector/J
    About MariaDB Connector/J
    documentation
    MariaDB Connector/J
    About MariaDB Connector/J
    About MariaDB Connector/J
    MariaDB Connector/J
    About MariaDB Connector/J

    Connector/J 3.5.3 Release Notes

    The most recent release of is:

    Download Release Notes Changelog Connector/J Overview

    Release date: 27 Mar 2025

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

    For an overview of MariaDB Connector/J see the page

    Notable Changes

    • Resolved timestamp string representation incompatibility between versions 2.7 and 3.x () Added new option

    • Modified redirection option to enable by default only when SSL is enabled ()

    Bugs Fixed

    Date and Time Handling

    • Fixed issue where dates containing zero day or month resulted in a DateTimeException ()

    Result Set and Metadata

    • Fixed incorrect values returned by ResultSet.getColumnType() for unsigned values ()

    • Corrected regression in 3.x affecting column metadata for unsigned types ()

    • Fixed CallableStatement.getParameterMetadata() returning wrong java.sql.Type for boolean values ()

    Connection Management

    • Prevented NPE (Null Pointer Exception) after reconnection failure in high availability configurations ()

    • Fixed issue with incorrect statements.isClosed value after closing connection ()

    Protocol and Performance

    • Disabled BULK operations when no parameters are present ()

    • Fixed connectivity issues with databases that only accept TLSv1.3 ()

    Changelog

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

    CONJ-1232
    CONJ-1235
    CONJ-1226
    CONJ-1222
    CONJ-1241
    CONJ-1243
    CONJ-1236
    CONJ-1237
    CONJ-1239
    CONJ-1240
    changelog
    Connector/J 3.5.7
    Download Now
    oldModeNoPrecisionTimestamp
    MariaDB Connector/J
    About MariaDB Connector/J
    parsec documentation
    character_set_collations
    parsec

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

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

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

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

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

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

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

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