MariaDB Connector/J 2.4.0 Release Notes

You are viewing an old version of this article. View the current version here.

The most recent Stable (GA) release of MariaDB Connector/J is:
MariaDB Connector/J 3.3.3

Download Release Notes Changelog Connector/J Overview

Release date: 29 Jan 2019

MariaDB Connector/J 2.4.0 is a Stable (GA) release.

NOTE: MariaDB Connector/J 2.4.0 is fully compatible with the latest release of version 2.3. Further maintenance releases will not be provided for version 2.3.

[CONJ-654] change metadata behaviour: DatabaseMetaData.getDatabaseProductName() nows return "MariaDB"/"MySQL" according to server. This can cause some incompatibilities with some libraries and products that do not yet know Database Type "MariaDB"

For an overview of MariaDB Connector/J see the About MariaDB Connector/J page

Evolutions

  • CONJ-675: permit multiple alternative authentication methods for the same user (https:jira.mariadb.org/browse/MDEV-11340)
  • CONJ-678: permit indication of truststore/keystore type (JKS/PKCS12), then not relying on java default type
  • CONJ-378: GSSAPI: client can provide SPN
  • CONJ-667: Support MYSQL_TYPE_JSON datatype
  • CONJ-652: buffering available socket buffer for faster results (specifically for huge resultset)
  • CONJ-659: improve text performance parsing date/time/timestamp resultset
  • CONJ-670: ability to always refresh SSL certificate

New options

useReadAheadInputuse a buffered inputSteam that read socket available data.
Default: true
keyStoreTypeindicate key store type (JKS/PKCS12). default is null, then using java default type.
trustStoreTypeindicate trust store type (JKS/PKCS12). default is null, then using java default type
servicePrincipalNamewhen using GSSAPI authentication, SPN (Service Principal Name) use the server SPN information. When set, connector will use this value, ignoring server information

Bug fixes

  • CONJ-646: possible NullPointerException when connection lost to database using aurora configuration with one node
  • CONJ-672: batch using multi-send can hang when using query timeout
  • CONJ-544: disable SSL session resumption when using SSL
  • CONJ-589: correcting Clob.length() for utf8mb4
  • CONJ-649: datasource connectTimeout URL parameter is not honoured
  • CONJ-650: Correction on resultset.getObject(columnName, byte[].class) when value is NULL
  • CONJ-665: old MySQL (<5.5.3) doesn't support utf8mb4, using utf8 on 3 bytes as connection charset by default
  • CONJ-671: MariaDb bulk threads occupy full cpu(99%) while db connections broken
  • CONJ-673: abording a connection while fetching a query still does read whole resultset
  • CONJ-669: SQLSyntaxErrorException when querying on empty column name
  • CONJ-674: make dumpQueriesOnException = false by default as per documentation

Minor

  • CONJ-644: small optimization when validating galera connection
  • CONJ-625: add coverage test
  • CONJ-654: DatabaseMetaData.getDriverName() returns connector/J with a lowercase c, DatabaseMetaData.getDatabaseProductName() "MariaDB"/"MySQL" according to server

Be notified of new MariaDB Server releases automatically by subscribing to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.

MariaDB may already be included in your favorite OS distribution. More information can be found on the Distributions which Include MariaDB page.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.