> 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.4.md).

# Connector/J 3.0.4 Release Notes

Release notes for MariaDB Connector/J 3.0.4, a Stable (GA) release published 25 March 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/4.0/4.0.0.md"><strong>4.0.0</strong></a></p>

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

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

**Release date:** 25 Mar 2022

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

### Bugs Fixed

* [CONJ-921](https://jira.mariadb.org/browse/CONJ-921) DatabaseMetadata#getTables throws a syntax error if a NULL value is used for tableNamePattern
* [CONJ-922](https://jira.mariadb.org/browse/CONJ-922) A DECIMAL overflow for long/int/short is not throwing an exception
* [CONJ-924](https://jira.mariadb.org/browse/CONJ-924) A NULL value returned for a column can result in java.lang.IllegalArgumentException: Unexpected data type NULL
* [CONJ-926](https://jira.mariadb.org/browse/CONJ-926) The authentication is restricted to the methods 'mysql\_native\_password,client\_ed25519,auth\_gssapi\_client' instead of allowing all supported methods, if the option restrictedAuth is not set (default NULL).
* [CONJ-923](https://jira.mariadb.org/browse/CONJ-923) 32 bit value returned instead of a 64 bit value for generated id / updated rows
* [CONJ-933](https://jira.mariadb.org/browse/CONJ-933) When the load-balancing HA mode is used a host is not used anymore after a connection failed, even if a connection would be possible again.
* [CONJ-935](https://jira.mariadb.org/browse/CONJ-935) Connection.getMetaData() returns values of type MariaDbClob instead of the expected type String
* [CONJ-937](https://jira.mariadb.org/browse/CONJ-937) metadata.getColumnTypeName() returns the values with a wrong types
* [CONJ-934](https://jira.mariadb.org/browse/CONJ-934) A connection fails if the password is set before the username for MariaDbDataSource
* [CONJ-932](https://jira.mariadb.org/browse/CONJ-932) The login packet has non-standard length information for the attributes, which can result in issues when using wireshark.
* [CONJ-945](https://jira.mariadb.org/browse/CONJ-945) When using failover the definition of retriesAllDown is ignored when trying to reconnect
* [CONJ-940](https://jira.mariadb.org/browse/CONJ-940) Updates of rows is not possible for storage engines which do not provide the metadata information for primary columns

### Install and Upgrade

* [CONJ-925](https://jira.mariadb.org/browse/CONJ-925) missing OSGI metadata is missing

## Changelog

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

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

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