All pages
Powered by GitBook
1 of 8

Connector/J 2.2 Release Notes

Release Notes for the MariaDB Connector/J 2.2 series

Connector/J 2.2.6 Release Notes

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

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 19 Jul 2018

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

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

Minor change:

  • [CONJ-623] Increase connection logging when Primary node connection fails

  • [CONJ-384] Permit knowing affected rows number, not only real changed rows

Bug correction:

  • [CONJ-624] MariaDbPoolDataSource possible NPE on configuration getter

  • [CONJ-622] The option "connectTimeout" must take in account DriverManager.getLoginTimeout() when set

  • [CONJ-621] wrong escaping when having curly bracket in table/field name

  • [CONJ-618] Client preparestatement parsing error on escaped ' / " in query

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

Connector/J 2.2.5 Release Notes

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

Connector/J 3.5.4

DownloadRelease NotesChangelogConnector/J Overview

Release date: 30 May 2018

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

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

Minor change:

  • [CONJ-602] Add server hostname to connection packet for proxy

  • [CONJ-604] handle support for mysql 8.0 tx_isolation replacement by transaction_isolation

  • [CONJ-595] Create option to configure DONOR/DESYNCED Galera nodes to be unavailable for load-balancing : Usually, Connection.isValid just send an empty packet to the server, and server sends a small response to ensure connectivity. When a new option "useBulkStmts" option is set, the connector will ensure galera server state ("wsrep_local_state" correspond to allowed values (4 = sync mode). see galera state to now more.

Bug correction:

  • [CONJ-613] Connection using "replication" Parameters fail when no slave is available

  • [CONJ-605] Newlines where breaking calling stored procedures

  • [CONJ-609] Using getDate with function DATE_ADD() with parameter using string format where return wrong result using the binary protocol

  • [CONJ-610] Option "allowMasterDownConnection" improvement on connection validation and Exceptions on master down

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

Connector/J 2.2.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: 14 May 2018

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

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

Bug Fixes

  • [CONJ-580] Some options are missing in documentation like default 'autocommit' value

  • [CONJ-597] Internal exchanges send utf8mb4 with server even if default server collation is not utf8/utf8mb4

  • [CONJ-600] Upgrading non-mandatory Waffle dependency to 1.9.0 (windows GSSAPI authentication)

  • [CONJ-575] test addition to ensure YaSSL downgrade TLSv1.2 protocol to TLSv1.1

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

Connector/J 2.2.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: 14 Mar 2018

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

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

Bug Fixes

  • [CONJ-583] possible hang indefinitely using master/slave configuration and failover occurs

  • [CONJ-586] erroneous transaction state when first command result as an error

  • [CONJ-587] using allowMasterDownConnection option can lead to NPE when using setReadOnly()

  • [CONJ-588] using option 'allowMasterDownConnection' won't permit to connect if all master are down

  • [CONJ-534] Connection.isValid() must be routed to Master and Slave connections to avoid any server timeout

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

Connector/J 2.2.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: 20 Feb 2018

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

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

Bug Fixes

  • [CONJ-564] Never ever throw an instance of java.lang.Error

  • [CONJ-579] Keywords missing from DatabaseMetaData.getSQLKeywords()

  • [CONJ-567] UrlParser.initialUrl gets overwritten

  • [CONJ-571] Permit java 9 serialization filtering

  • [CONJ-574] forcing using toLowerCase/toUpperCase with Locale.ROOT

  • [CONJ-560] Automatic module name for java 9

  • [CONJ-578] windows testing using all mariadb server

  • [CONJ-570] Add tests for 10.3.3 INVISIBLE column

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

Connector/J 2.2.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: 22 Dec 2017

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

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

  • [CONJ-501] provide support for authentication plugin ed25519

Bug Fixes

  • [CONJ-529] on failover, the driver will pause for 250ms if no servers are available before attempting to loop reconnection

  • [CONJ-548] COM_STMT_BULK_EXECUTE not used for INSERT ... SELECT statements

  • [CONJ-549] correction on connection reset when using MariaDbPoolDataSource with options useServerPrepStmts and useResetConnection enabled

  • [CONJ-555] failover caused by client timeout must not reuse connection

  • [CONJ-558] removing extra ".0" to resultset.getString() value for FLOAT/DOUBLE fields

  • [CONJ-550] fetching state correction when reusing statement without having read all results

  • [CONJ-553] RejectedExecutionException was thrown when having large amount of concurrent batches

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

Connector/J 2.2.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: 9 Nov 2017

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

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

Features

  • [CONJ-522] Pool datasource implementation : MariaDB has now 2 different Datasources implementation. More information on pool datasource implementation.

  • [CONJ-530] Permit Connection.abort() forcing killing the connection even if connection is stuck in another thread (like reading big resultset)

  • [CONJ-531] permit cancelling streaming result-set using Statement.cancel.

  • [CONJ-495] Improve reading result-set data

  • [CONJ-510] Permit connection creation to allow execution of read-only statements on slaves when master is down

Bug Fixes

  • [CONJ-532] correction Statement.getMoreResults() for multi-queries

  • [CONJ-533] PrepareStatement.setTime() may insert incorrect time according to current timezone, time and option "useLegacyDatetimeCode"

  • [CONJ-535] correction on numerical getter for big BIT data type fields

  • [CONJ-541] Fix behavior of ResultSet#relative when crossing result set boundaries

Misc

  • [CONJ-469] Improve Blob/Clob implementation (avoiding array copy from result-set row)

  • [CONJ-539] better message when server close connection

  • [misc] resultset.findColumn method use column name if alias not found

  • [misc] default option "connectTimeout" value to 30 seconds (was 0 = no timeout)

  • [misc] ensure that enablePacketDebug option works when timer tick is big

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