All pages
Powered by GitBook
1 of 6

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Connector/J 2.4 Release Notes

Release Notes for the MariaDB Connector/J 2.4 series

Connector/J 2.4.1 Release Notes

Download | Release Notes | Changelog |

Release date: 18 Mar 2019

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

Evolutions

  • [misc] enabled running of 'SHOW ENGINE INNODB STATUS' for error code 1213 (@mtykhenko)

  • [misc] reduce mutex using select @@innodb_read_only for aurora (@matsuzayaws)

Bugs

  • [misc] updating checkstyle version dependency

  • [misc] permit using SSL on localsocket

  • [misc] java PID using java 9 ProcessHandle if existing, relying on JNA if present

  • : addition of option "useMysqlMetadata" to permit MySQL meta compatibility

Connector/J 2.4.3 Release Notes

Download | Release Notes | Changelog |

Release date: 5 Aug 2019

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

Notes

New option blankTableNameMeta permit to have Resultset metadata getTableName methods always return blank in place of returning real table name as JDBC indicate. This is for ease migration from Oracle since Oracle driver always returns an empty string.

  • : conversion function support for other data types than default MariaDB conversion type

  • : Permit suppression of result-set metadata getTableName for oracle compatibility

  • : Saving values using Java 8 LocalTime does not store fractional parts of seconds

  • : Correcting possible NPE on non-thread safe NumberFormat (logging)

Changelog

For a complete list of changes made in MariaDB Connector/J 2.4.3, with links to detailed information on each push, see the .

Connector/J 2.4.4 Release Notes

| Release Notes | |

Release date: 18 Sep 2019

MariaDB Connector/J 2.4.4 is a (GA) release.

Bugs

CONJ-682: internal pool correction: when receiving an RST during connection validation, the pool will end up throwing connection timeout exception in place of reusing another connection.

CONJ-687
CONJ-724: Do not ignore the Calendar parameter in ResultSet#getTime(int, Calendar)
  • CONJ-725: Connection Failure when using PAM authenticated user on 10.4 MariaDB server

  • CONJ-729: master-slave regression: commit on read-only server Executed only when there is an active transaction on master connection

  • CONJ-726: removing possible NPE after failover on aurora cluster

  • Changelog

    For a complete list of changes made in MariaDB Connector/J 2.4.4, with links to detailed information on each push, see the changelog.

    Download
    Changelog
    Stable
    CONJ-717
    CONJ-722
    CONJ-719
    CONJ-716
    changelog

    Connector/J 2.4.2 Release Notes

    Download | Release Notes | Changelog |

    Release date: 17 Jun 2019

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

    Notes

    Evolutions

    New option defaultFetchSize to set default fetch size. When set, all statements will be initialized with the indicated fetch size.

    Bugs

    • : ClassNotFoundException when trying to connect using two-authentication in an OSGI environment.

    • : Xid format id is unsigned integer, currently sending as signed value.

    • : autoReconnect=true on Basic Failover doesn't reconnect

    • : failover might throw an unexpected exception with using "failover"/"sequential" configuration on socket error

    Changelog

    For a complete list of changes made in MariaDB Connector/J 2.4.2, with links to detailed information on each push, see the .

    CONJ-709: includeThreadDumpInDeadlockExceptions is thrown only if option includeInnodbStatusInDeadlockExceptions is set

  • CONJ-710: Throw complete stackTrace when having an exception on XA Commands

  • CONJ-714: Error on connection on galera server when in detached mode.

  • CONJ-701: typo in error message in SelectResultSet.java

  • CONJ-679: parse Query when receiving LOAD LOCAL INFILE

  • CONJ-703
    CONJ-711
    CONJ-700
    CONJ-707
    changelog

    Connector/J 2.4.0 Release Notes

    | Release Notes | |

    Release date: 29 Jan 2019

    MariaDB Connector/J 2.4.0 is a (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.

    [] 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"

    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

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

    New options

    useReadAheadInput
    keyStoreType
    trustStoreType
    servicePrincipalName

    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

    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

    • : datasource connectTimeout URL parameter is not honoured

    • : Correction on resultset.getObject(columnName, byte[].class) when value is NULL

    • : old MySQL (<5.5.3) doesn't support utf8mb4, using utf8 on 3 bytes as connection charset by default

    • : MariaDb bulk threads occupy full cpu(99%) while db connections broken

    • : abording a connection while fetching a query still does read whole resultset

    • : SQLSyntaxErrorException when querying on empty column name

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

    Download
    Changelog
    Stable
    CONJ-654

    For an overview of MariaDB Connector/J see the page

    For an overview of MariaDB Connector/J see the page

    For an overview of MariaDB Connector/J see the page

    For an overview of MariaDB Connector/J see the page

    For an overview of MariaDB Connector/J see the page

    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-652
    CONJ-659
    CONJ-670
    CONJ-649
    CONJ-650
    CONJ-665
    CONJ-671
    CONJ-673
    CONJ-669
    CONJ-674

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    The most recent release of is:

    Connector/J 3.5.7 Download Now

    The most recent release of is:

    Connector/J 3.5.7 Download Now

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

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

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

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

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

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