Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Release date: 17 Dec 2025
MariaDB Connector/J 3.5.7 is a Stable (GA) release.
Added TLS SNI (Server Name Indication) support
Added MariaDbDataTruncation exception that includes MariaDB error code and error message
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
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+
Release Notes for MariaDB Connector/J 3.5 series
Release date: 11 Sep 2025
MariaDB Connector/J 3.5.6 is a Stable (GA) release.
Implemented rewriteBatchStatements functionality ()
Added server prepared statement fallback to client prepared statements ()
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 ()
For a complete list of changes made in MariaDB Connector/J 3.5.6, with links to detailed information on each push, see the .
Release date: 8 Aug 2025
MariaDB Connector/J 3.5.5 is a Stable (GA) release.
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 ()
For a complete list of changes made in MariaDB Connector/J 3.5.5, with links to detailed information on each push, see the .
Added caching option for loadCodecs results to improve performance (CONJ-1261)
Added new option
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 ()
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.
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.
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.
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.
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
connectionCollation - CONJ-1199The 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
This addition is a preparation for the Vector support of MariaDB Server
Example of Array:
Resultset:
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
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.
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.
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.
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 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
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.
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)/DBjdbc: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
Release date: 27 Mar 2025
MariaDB Connector/J 3.5.3 is a Stable (GA) release.
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 ()
Fixed issue where dates containing zero day or month resulted in a DateTimeException ()
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 ()
Prevented NPE (Null Pointer Exception) after reconnection failure in high availability configurations ()
Fixed issue with incorrect statements.isClosed value after closing connection ()
Disabled BULK operations when no parameters are present ()
Fixed connectivity issues with databases that only accept TLSv1.3 ()
For a complete list of changes made in MariaDB Connector/J 3.5.3, with links to detailed information on each push, see the .
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.