Download | Release Notes | Changelog |
Release date: 29 Jan 2019
MariaDB Connector/J 2.4.0 is a Stable (GA) release.
NOTE: MariaDB Connector/J 2.4.0 is fully compatible with the latest release of version 2.3. Further maintenance releases will not be provided for version 2.3.
[CONJ-654] change metadata behaviour: DatabaseMetaData.getDatabaseProductName() nows return "MariaDB"/"MySQL" according to server. This can cause some incompatibilities with some libraries and products that do not yet know Database Type "MariaDB"
: permit multiple alternative authentication methods for the same user ()
: permit indication of truststore/keystore type (JKS/PKCS12), then not relying on java default type
: GSSAPI: client can provide SPN
: Support MYSQL_TYPE_JSON datatype
: possible NullPointerException when connection lost to database using aurora configuration with one node
: batch using multi-send can hang when using query timeout
: disable SSL session resumption when using SSL
: correcting Clob.length() for utf8mb4
: small optimization when validating galera connection
: add coverage test
: DatabaseMetaData.getDriverName() returns connector/J with a lowercase c, DatabaseMetaData.getDatabaseProductName() "MariaDB"/"MySQL" according to server
CONJ-652: buffering available socket buffer for faster results (specifically for huge resultset)
CONJ-659: improve text performance parsing date/time/timestamp resultset
CONJ-670: ability to always refresh SSL certificate
servicePrincipalName
when using GSSAPI authentication, SPN (Service Principal Name) use the server SPN information. When set, connector will use this value, ignoring server information
CONJ-649: datasource connectTimeout URL parameter is not honoured
CONJ-650: Correction on resultset.getObject(columnName, byte[].class) when value is NULL
CONJ-665: old MySQL (<5.5.3) doesn't support utf8mb4, using utf8 on 3 bytes as connection charset by default
CONJ-671: MariaDb bulk threads occupy full cpu(99%) while db connections broken
CONJ-673: abording a connection while fetching a query still does read whole resultset
CONJ-669: SQLSyntaxErrorException when querying on empty column name
CONJ-674: make dumpQueriesOnException = false by default as per documentation
useReadAheadInput
use a buffered inputSteam that read socket available data. Default: true
keyStoreType
indicate key store type (JKS/PKCS12). default is null, then using java default type.
trustStoreType
indicate trust store type (JKS/PKCS12). default is null, then using java default type
This page is: Copyright © 2025 MariaDB. All rights reserved.