# Connector/J 2.4.2 Release Notes

{% hint style="info" %}

<p align="center">The most recent release of <a href="https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/mariadb-connector-j">MariaDB Connector/J</a> is:</p>

<h4 align="center"><a href="../3.5/3.5.8" class="button secondary">Connector/J 3.5.8</a> <a href="https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector" class="button primary">Download Now</a></h4>
{% endhint %}

[Download](https://mariadb.com/downloads/#connectors) | **Release Notes** | [Changelog](https://mariadb.com/docs/release-notes/connectors/java/changelogs/2.4/2.4.2) | [About MariaDB Connector/J](https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/mariadb-connector-j/about-mariadb-connector-j)

**Release date:** 17 Jun 2019

MariaDB Connector/J 2.4.2 is a [***Stable***](https://mariadb.com/docs/release-notes/community-server/about/release-criteria) ***(GA)*** release.

{% hint style="info" %}
**For an overview of MariaDB Connector/J see the** [**About MariaDB Connector/J**](https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/mariadb-connector-j/about-mariadb-connector-j) **page**
{% endhint %}

## 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](https://jira.mariadb.org/browse/CONJ-703): ClassNotFoundException when trying to connect using two-authentication in an OSGI environment.
* [CONJ-711](https://jira.mariadb.org/browse/CONJ-711): Xid format id is unsigned integer, currently sending as signed value.
* [CONJ-700](https://jira.mariadb.org/browse/CONJ-700): autoReconnect=true on Basic Failover doesn't reconnect
* [CONJ-707](https://jira.mariadb.org/browse/CONJ-707): failover might throw an unexpected exception with using "failover"/"sequential" configuration on socket error
* [CONJ-709](https://jira.mariadb.org/browse/CONJ-709): includeThreadDumpInDeadlockExceptions is thrown only if option includeInnodbStatusInDeadlockExceptions is set
* [CONJ-710](https://jira.mariadb.org/browse/CONJ-710): Throw complete stackTrace when having an exception on XA Commands
* [CONJ-714](https://jira.mariadb.org/browse/CONJ-714): Error on connection on galera server when in detached mode.
* [CONJ-701](https://jira.mariadb.org/browse/CONJ-701): typo in error message in SelectResultSet.java
* [CONJ-679](https://jira.mariadb.org/browse/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](https://mariadb.com/docs/release-notes/connectors/java/changelogs/2.4/2.4.2).

<sub>*This page is: Copyright © 2025 MariaDB. All rights reserved.*</sub>

{% @marketo/form formid="4316" formId="4316" %}
