All pages
Powered by GitBook
1 of 6

Connector/J 2.4 Release Notes

Release Notes for the MariaDB Connector/J 2.4 series

Connector/J 2.4.4 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 18 Sep. 2019

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

For an overview of MariaDB Connector/J see theAbout MariaDB Connector/J page

Bugs

  • CONJ-724: Do not ignore the Calendar parameter in ResultSet#getTime(int, Calendar)

  • CONJ-725: Connection Failure when using PAM authenticated user on 10.4 MariaDB server

  • CONJ-729: master-slave regression: commit on read-only server Executed only when there is an active transaction on master connection

  • CONJ-726: removing possible NPE after failover on aurora cluster

Changelog

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

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

Connector/J 2.4.3 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 5 Aug 2019

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

For an overview of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notes

New option blankTableNameMeta permit to have Resultset metadata getTableName methods always return blank in place of returning real table name as JDBC indicate. This is for ease migration from Oracle since Oracle driver always returns an empty string.

  • CONJ-717: conversion function support for other data types than default MariaDB conversion type

  • CONJ-722: Permit suppression of result-set metadata getTableName for oracle compatibility

  • CONJ-719: Saving values using Java 8 LocalTime does not store fractional parts of seconds

  • CONJ-716: Correcting possible NPE on non-thread safe NumberFormat (logging)

Changelog

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

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

Connector/J 2.4.2 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 17 Jun 2019

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

For an overview of MariaDB Connector/J see theAbout MariaDB Connector/J page

Notes

Evolutions

New option defaultFetchSize to set default fetch size. When set, all statements will be initialized with the indicated fetch size.

Bugs

  • CONJ-703: ClassNotFoundException when trying to connect using two-authentication in an OSGI environment.

  • CONJ-711: Xid format id is unsigned integer, currently sending as signed value.

  • CONJ-700: autoReconnect=true on Basic Failover doesn't reconnect

  • CONJ-707: failover might throw an unexpected exception with using "failover"/"sequential" configuration on socket error

  • CONJ-709: includeThreadDumpInDeadlockExceptions is thrown only if option includeInnodbStatusInDeadlockExceptions is set

  • CONJ-710: Throw complete stackTrace when having an exception on XA Commands

  • CONJ-714: Error on connection on galera server when in detached mode.

  • CONJ-701: typo in error message in SelectResultSet.java

  • CONJ-679: parse Query when receiving LOAD LOCAL INFILE

Changelog

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

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

Connector/J 2.4.1 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 18 Mar 2019

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

For an overview of MariaDB Connector/J see theAbout MariaDB Connector/J page

Evolutions

  • [misc] enabled running of 'SHOW ENGINE INNODB STATUS' for error code 1213 (@mtykhenko)

  • [misc] reduce mutex using select @@innodb_read_only for aurora (@matsuzayaws)

Bugs

  • [misc] updating checkstyle version dependency

  • [misc] permit using SSL on localsocket

  • [misc] java PID using java 9 ProcessHandle if existing, relying on JNA if present

  • CONJ-687: addition of option "useMysqlMetadata" to permit MySQL meta compatibility

  • CONJ-682: internal pool correction: when receiving an RST during connection validation, the pool will end up throwing connection timeout exception in place of reusing another connection.

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

Connector/J 2.4.0 Release Notes

The most recent Stable (GA) release of MariaDB Connector/Java is:

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

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"

For an overview of MariaDB Connector/J see theAbout MariaDB Connector/J page

Evolutions

  • CONJ-675: permit multiple alternative authentication methods for the same user (future MariaDB 10.4 feature)

  • CONJ-678: permit indication of truststore/keystore type (JKS/PKCS12), then not relying on java default type

  • CONJ-378: GSSAPI: client can provide SPN

  • CONJ-667: Support MYSQL_TYPE_JSON datatype

  • 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

New options

useReadAheadInput
keyStoreType
trustStoreType
servicePrincipalName

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

servicePrincipalName

when using GSSAPI authentication, SPN (Service Principal Name) use the server SPN information. When set, connector will use this value, ignoring server information

Bug fixes

  • CONJ-646: possible NullPointerException when connection lost to database using aurora configuration with one node

  • CONJ-672: batch using multi-send can hang when using query timeout

  • CONJ-544: disable SSL session resumption when using SSL

  • CONJ-589: correcting Clob.length() for utf8mb4

  • 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

Minor

  • CONJ-644: small optimization when validating galera connection

  • CONJ-625: add coverage test

  • CONJ-654: DatabaseMetaData.getDriverName() returns connector/J with a lowercase c, DatabaseMetaData.getDatabaseProductName() "MariaDB"/"MySQL" according to server

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