# Connector/J 2.7.0 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 %}

<a href="https://mariadb.com/downloads/connectors/connectors-data-access/java8-connector" class="button primary">Download</a> <a href="2.7.0" class="button secondary">Release Notes</a> <a href="../changelogs/2.7/2.7.0" class="button secondary">Changelog</a> <a href="https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/mariadb-connector-j/about-mariadb-connector-j" class="button secondary">Connector/J Overview</a>

**Release date:** 25 Sep 2020

MariaDB Connector/J 2.7.0 is a [***Stable***](https://mariadb.com/docs/release-notes/community-server/about/release-criteria) ***(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**](https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/mariadb-connector-j/about-mariadb-connector-j) **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](https://mariadb.com/docs/release-notes/connectors/java/changelogs/2.7/2.7.0).

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

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