# Connector/J 3.0.8 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.6" class="button secondary">Connector/J 3.5.6</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** | [Changelog](https://gitbook-v2-q3lwp8faq-gitbook.vercel.app/url/mariadb.com/docs/release-notes/connectors/java/changelogs/3.0/3.0.8) | [About MariaDB Connector/J](https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/mariadb-connector-j/about-mariadb-connector-j)

**Release date:** 20 Sep 2022

MariaDB Connector/J 3.0.8 is a [***Stable***](https://gitbook-v2-q3lwp8faq-gitbook.vercel.app/url/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 %}

### 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](https://gitbook-v2-q3lwp8faq-gitbook.vercel.app/url/mariadb.com/docs/release-notes/connectors/java/changelogs/3.0/3.0.8).

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

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