All pages
Powered by GitBook
1 of 1

Loading...

Connector/J 2.4.0 Release Notes

The most recent release of is:

Download | Release Notes | Changelog |

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 page

Evolutions

  • CONJ-675: permit multiple alternative authentication methods for the same user (future MariaDB 10.4 feature)

  • : permit indication of truststore/keystore type (JKS/PKCS12), then not relying on java default type

  • : GSSAPI: client can provide SPN

  • : Support MYSQL_TYPE_JSON datatype

  • : buffering available socket buffer for faster results (specifically for huge resultset)

  • : improve text performance parsing date/time/timestamp resultset

  • : ability to always refresh SSL certificate

useReadAheadInput
keyStoreType
trustStoreType
servicePrincipalName
  • : possible NullPointerException when connection lost to database using aurora configuration with one node

  • : batch using multi-send can hang when using query timeout

  • : disable SSL session resumption when using SSL

  • : small optimization when validating galera connection

  • : add coverage test

  • : DatabaseMetaData.getDriverName() returns connector/J with a lowercase c, DatabaseMetaData.getDatabaseProductName() "MariaDB"/"MySQL" according to server

This page is: Copyright © 2025 MariaDB. All rights reserved.

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

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

  • useReadAheadInput

    use a buffered inputSteam that read socket available data. Default: true

    keyStoreType

    New options

    Bug fixes

    Minor

    Connector/J 3.5.8 Download Now

    CONJ-678
    CONJ-378
    CONJ-667
    CONJ-652
    CONJ-659
    CONJ-670
    CONJ-646
    CONJ-672
    CONJ-544
    CONJ-644
    CONJ-625
    CONJ-654
    spinner

    indicate key store type (JKS/PKCS12). default is null, then using java default type.

    About MariaDB Connector/J
    MariaDB Connector/J
    About MariaDB Connector/J