# Connector/J 3.0.4 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](https://mariadb.com/docs/release-notes/connectors/java/3.0/3.0.4) | [Changelog](https://mariadb.com/docs/release-notes/connectors/java/changelogs/3.0/3.0.4) | [About MariaDB Connector/J](https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/mariadb-connector-j/about-mariadb-connector-j)

**Release date:** 25 Mar 2022

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

### 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](https://mariadb.com/docs/release-notes/connectors/java/changelogs/3.0/3.0.4).

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

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