> 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/2.7/2.7.0.md).

# Connector/J 2.7.0 Release Notes

Release notes for MariaDB Connector/J 2.7.0, a Stable (GA) release published 25 September 2020.

{% 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 %}

<a href="https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector" class="button primary">Download</a> <a href="/docs/release-notes/connectors/java/2.7/2.7.0.md" class="button secondary">Release Notes</a> <a href="/docs/release-notes/connectors/java/changelogs/2.7/2.7.0.md" class="button secondary">Changelog</a> <a href="/docs/connectors/mariadb-connector-j/about-mariadb-connector-j.md" class="button secondary">Connector/J Overview</a>

**Release date:** 25 Sep 2020

MariaDB Connector/J 2.7.0 is a [***Stable***](/docs/release-notes/community-server/about/release-criteria.md) ***(GA)*** release.

{% hint style="warning" %}
**NOTE:** MariaDB Connector/J 2.7.0 is fully compatible with the latest release of version 2.6. Further maintenance releases will not be provided for version 2.6.
{% endhint %}

{% 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-810](https://jira.mariadb.org/browse/CONJ-810) normalization of resultset getDate/getTime of timestamp field.
* [CONJ-812](https://jira.mariadb.org/browse/CONJ-812) DatabaseMetadata.getBestRowIdentifier and getMaxProcedureNameLength correction
* [CONJ-816](https://jira.mariadb.org/browse/CONJ-816) Table with primary key with DEFAULT function can be inserted for 10.5 servers
* [CONJ-820](https://jira.mariadb.org/browse/CONJ-820) MySQLPreparedStatement.setObject can now handle java.lang.Character type
* [CONJ-828](https://jira.mariadb.org/browse/CONJ-828) new option `ensureSocketState` to ensure protocol state
* [CONJ-829](https://jira.mariadb.org/browse/CONJ-829) Option to cache callablestatement is now disabled by default
* [CONJ-814](https://jira.mariadb.org/browse/CONJ-814) Small possible improvement of getCrossReference, getExportedKeys and getImportedKey
* [CONJ-825](https://jira.mariadb.org/browse/CONJ-825) XAResource.isSameRM implementation

## Bugs Fixed

* [CONJ-805](https://jira.mariadb.org/browse/CONJ-805) maxFieldSize string truncation occurs on bytes length, not character length
* [CONJ-807](https://jira.mariadb.org/browse/CONJ-807) Correcting possible Get Access Denied error if using multiple classloader
* [CONJ-813](https://jira.mariadb.org/browse/CONJ-813) setConfiguration not being called on classes that extend ConfigurableSocketFactory
* [CONJ-817](https://jira.mariadb.org/browse/CONJ-817) Switched position of REMARKS and PROCEDURE\_TYPE in the getProcedures result
* [CONJ-830](https://jira.mariadb.org/browse/CONJ-830) connector now throw a better error if SSL is mandatory and server doesn't support SSL

## Changelog

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

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

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