MariaDB Java Connector 3.0.4 now available

spacer

MariaDB is pleased to announce the immediate availability of the MariaDB Connector/Java 3.0.4 GA release.

Download Now

Release Notes

MariaDB Connector/Java 3.0.4

MariaDB Connector/Java 3.0.4 is a Stable (GA) release.

Issues fixed in this release include:

  • When the server or storage engine does not send metadata about primary key columns to the connector, the connector does not obtain metadata about primary key columns by executing SHOW COLUMNS.
  • When a column is set to NULL (such as in SELECT NULL myAlias), the results are not handled properly.
  • When the restrictedAuth parameter is not set, the parameter defaults to ‘mysql_native_password,client_ed25519,auth_gssapi_client’, but it should default to all supported authentication plugins.
  • When DatabaseMetadata.getTables() is called with null as the tableNamePattern argument, an SQLSyntaxErrorException is thrown.
  • When a DECIMAL overflow occurs for some numeric data types, an exception is not thrown.
  • When DatabaseMetadata.getTables() is called with null as the tableNamePattern argument, an SQLSyntaxErrorException is thrown.
  • When a DECIMAL overflow occurs for some numeric data types, an exception is not thrown.
  • When Statement.getGeneratedKeys() is used to retrieve automatically generated AUTO_INCREMENT values, the value is returned as a 32-bit integer, instead of a 64-bit integer, which can cause overflow.
  • When the number of affected rows is returned for a DML statement, the value is returned as a 32-bit integer, instead of a 64-bit integer, which can cause overflow.
  • When the failover or loadbalance HA modes are used, if a host fails and comes back online, the host is not used for connections.
  • Connection.getMetaData() returns values of type MariaDbClob instead of the expected type String.
  • ResultsetMetadata.getColumnTypeName() returns the wrong data type names.
  • When user is set for a MariaDbDataSource object and password was previously set, password is reset to null, which causes authentication to fail.
  • When login packets are inspected with Wireshark, the packet is annotated as [Malformed Packet: MySQL], because a non-standard encoding is used for Connection Attributes length.
  • When the retriesAllDown parameter is set, attempts to reconnect after failover are not limited.

See the release notes page for more details and visit mariadb.com/downloads/connectors/connectors-data-access/java8-connector/ to download.