> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/release-notes/connectors/java/2.4/2.4.2.md).

# Connector/J 2.4.2 Release Notes

Release notes for MariaDB Connector/J 2.4.2, a Stable (GA) release published 17 June 2019.

{% hint style="info" %}

<p align="center">The most recent release of <a href="/docs/connectors/mariadb-connector-j.md">MariaDB Connector/J</a> is: <a href="/docs/release-notes/connectors/java/3.5/3.5.10.md"><strong>3.5.10</strong></a></p>

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

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

**Release date:** 17 Jun 2019

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

{% hint style="info" %}
**For an overview of MariaDB Connector/J see the** [**About MariaDB Connector/J**](/docs/connectors/mariadb-connector-j/about-mariadb-connector-j.md) **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](/docs/release-notes/connectors/java/changelogs/2.4/2.4.2.md).

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

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