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.
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.
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
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
This addition is a preparation for the Vector support of MariaDB Server
Example of Array:
Resultset:
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
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-1187 Throw exception type SQLTimeoutException instead of SQLNonTransientConnectionException for connection timeouts
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);This page is: Copyright © 2025 MariaDB. All rights reserved.