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

# Connector/J 3.0.8 Release Notes

Release notes for MariaDB Connector/J 3.0.8, a Stable (GA) release published 20 September 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** | [Changelog](/docs/release-notes/connectors/java/changelogs/3.0/3.0.8.md) | [About MariaDB Connector/J](/docs/connectors/mariadb-connector-j/about-mariadb-connector-j.md)

**Release date:** 20 Sep 2022

MariaDB Connector/J 3.0.8 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-1010](https://jira.mariadb.org/browse/CONJ-1010) improve client side prepared parameter substitution

### Bugs Fixed

* [CONJ-997](https://jira.mariadb.org/browse/CONJ-997) regression in 3.x when using option galeraAllowedState resulting in an IndexOutOfBoundsException
* [CONJ-1002](https://jira.mariadb.org/browse/CONJ-1002) 2nd failover reconnection ignores default database/schema setting when not set by connection string
* [CONJ-1003](https://jira.mariadb.org/browse/CONJ-1003) replication configuration always use 1st replica on 3.0
* [CONJ-996](https://jira.mariadb.org/browse/CONJ-996) BatchUpdateException doesn't inherited the SQLState & vendorCode from the cause SQL exception
* [CONJ-1006](https://jira.mariadb.org/browse/CONJ-1006) disabling cachePrepStmts with useServerPrepStmts might result in Exception
* [CONJ-1007](https://jira.mariadb.org/browse/CONJ-1007) Socket file descriptors are leaked after connecting with unix socket if DB is not up running
* [CONJ-999](https://jira.mariadb.org/browse/CONJ-999) setting createDatabaseIfNotExist option use on read-only server will refuse connection on 3.0

## Changelog

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

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

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