MariaDB Connector C++ 1.1.0-beta and Connector Java 2.7.4 and 3.0.1-beta now available
Posted on August 11, 2021 by Daniel Bartholomew
MariaDB is pleased to announce the immediate availability of MariaDB Connector/C++ 1.1.0-beta and Connector/Java 2.7.4 and 3.0.1-beta.
Release Notes
MariaDB Connector/C++ 1.1.0-beta
MariaDB Connector/C++ 1.1.0 is a Beta release. Notable items in this release include:
- The default connection character set is utf8mb4
- Re-execution or destruction on any type of statement object closes all of its result-sets
- ResultSet streaming is supported. The defaultFetchSize connection option sets the default number of rows in a result-sets retrieved at a time. The setFetchSize statement method sets number of rows for the statement.
Notable API changes in this release include:
- ResultSet get methods are const
- sql::Properties class passed to connect methods is a class defined in the library. DatabaseMetaData::getTables accepts the sql::List class object. Methods still accept std::map and std::list objects.
- SQLString class supports find methods
- Properties parameters to connect methods are const
- SQLString constructor from std::string is not exported on Windows
MariaDB Connector/Java 2.7.4
MariaDB Connector/Java 2.7.4 is a stable (GA) release. Notable fixes in this release include:
- Socket not closed after SocketTimeoutException, leaving the socket and connection in an active state after timeout
- Prepared queries executed in parallel with automatic key generation throw IndexOutOfBoundsException exceptions
- MariaDbPoolDataSource leaks connections when MariaDB Server is restarted
- SQLException missing from an addConnection method in the org.mariadb.jdbc.internal.util.pool.Pool class
- CallableStatement using function throws wrong error on getter
- getImportedKeys and getTables regression returns empty result-set for null/empty catalogs
- DatabaseMetaData.getColumns regression causes TINYINT(x) where x is greater than 1 to return BIT type instead of TINYINT
MariaDB Connector/Java 3.0.1-beta
MariaDB Connector/Java 3.0.1 is a Beta release. Notable changes in this release include:
- Provides a complete Java Platform Module System (JPMS) module descriptor
- Support for useMysqlMetadata option added for 2.7 compatibility
Notable issues fixed in this release include:
- MariaDbPoolDataSource leaks connections when MariaDB Server is restarted
- SQLException missing from an addConnection method in the org.mariadb.jdbc.internal.util.pool.Pool class
- getImportedKeys method used with catalog/schema parameter set to null returns only metadata for the current database instead of metadata for all schemas as JDBC specifies
See the release notes pages for more details and visit mariadb.com/downloads/#connectors to download.