github mariadb-corporation/mariadb-connector-j 2.4.0
MariaDB connector/j 2.4.0

latest releases: 3.5.3, 3.4.2, 3.3.4...
6 years ago

This version is a general availability (GA) release.

Changelog

Evolutions

  • [CONJ-675] permit multiple alternative authentication methods for the same user (future MariaDB 10.4 feature)
  • {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] faster results buffering socket available
  • [CONJ-659] improve text performance reading date/time/timestamp resultset
  • [CONJ-670] ability to Refresh SSL certificate

New options:

Option Description
useReadAheadInput use a buffered inputSteam that read socket available data.
Default: true
keyStoreType indicate key store type (JKS/PKCS12). default is null, then using java default type.
trustStoreType indicate trust store type (JKS/PKCS12). default is null, then using java default type
servicePrincipalName when using GSSAPI authentication, SPN (Service Principal Name) use the server SPN information. When set, connector will use this value, ignoring server information

Bugs

  • [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

Don't miss a new mariadb-connector-j release

NewReleases is sending notifications on new releases.