> 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/3.0/3.0.5.md).

# Connector/J 3.0.5 Release Notes

Release notes for MariaDB Connector/J 3.0.5, a Stable (GA) release published 25 May 2022.

{% 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/3.0/3.0.5.md) | [About MariaDB Connector/J](/docs/connectors/mariadb-connector-j/about-mariadb-connector-j.md)

**Release date:** 25 May 2022

MariaDB Connector/J 3.0.5 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 %}

### Notable Changes

* [CONJ-958](https://jira.mariadb.org/browse/CONJ-958) When multiple hosts are defined in the connection URL and no failover or load balancing mode is used, MariaDB Connector/J will try the hosts sequentially until a connection is successful.
* [CONJ-961](https://jira.mariadb.org/browse/CONJ-961) LOAD DATA LOCAL INFILE is now enabled by default on the client side, for compatibility with MariaDB Connector/J 2.7.
  * The connector validates that only the filename used in the original request will be provided, to prevent a man-in-the-middle change of the filename.
  * This might cause Batch performance regression. In case of non use of LOCAL DATA LOCAL INFILE, disable option `allowLocalInfile` explicitly can improve performance.

### Bugs Fixed

* [CONJ-956](https://jira.mariadb.org/browse/CONJ-956) ArrayIndexOutOfBoundsException when alias length > 250
* [CONJ-947](https://jira.mariadb.org/browse/CONJ-947) value after milliseconds precision lost when timestamp is encoded
* [CONJ-949](https://jira.mariadb.org/browse/CONJ-949) keep clientCertificateKeyStoreUrl and clientCertificateKeyStoreUrl aliases
* [CONJ-950](https://jira.mariadb.org/browse/CONJ-950) metadata TEXT/TINYTEXT/MEDIUMTEXT/LONGTEXT wrong column type and length
* [CONJ-954](https://jira.mariadb.org/browse/CONJ-954) java.time.OffsetDateTime not supported
* [CONJ-958](https://jira.mariadb.org/browse/CONJ-958) compatibility with 2.7: now loop through hosts when multiple host without failover mode
* [CONJ-959](https://jira.mariadb.org/browse/CONJ-959) java.time.Instant not supported
* [CONJ-962](https://jira.mariadb.org/browse/CONJ-962) resultset for negative TIME value return erroneous LocalDateTime values
* [CONJ-965](https://jira.mariadb.org/browse/CONJ-965) better error message when not loading serverSslCert file
* [CONJ-967](https://jira.mariadb.org/browse/CONJ-967) clearParameters() breaks validity when using output parameters in stored procedures
* [CONJ-969](https://jira.mariadb.org/browse/CONJ-969) org.mariadb.jdbc.ClientPreparedStatement is missing a toString implementation, useful for logging

## Changelog

For a complete list of changes made in MariaDB Connector/J 3.0.5, with links to detailed information on each push, see the [changelog](/docs/release-notes/connectors/java/changelogs/3.0/3.0.5.md).

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

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