Release Notes for MariaDB Connector/J 2.7.7
This page is part of MariaDB's MariaDB Documentation.
The parent of this page is: Release Notes for MariaDB Connector/J 2.7
Topics on this page:
MariaDB Connector/J is an interface between Java applications and MariaDB Server. MariaDB Connector/J enables the development of the development of Java 8, Java 11, and Java 17 applications for MariaDB database products.
MariaDB Connector/J 2.7.7 was released on 2022-11-08. This release is of General Availability (GA) maturity. This release is compatible with JDBC 4.2.
When GSSAPI authentication occurs on Windows using WAFFLE, an error is raised. (CONJ-1021)
In previous releases, the following error was raised:
java.sql.SQLNonTransientConnectionException: (conn=CONNECTION_ID) Could not connect to HOST:PORT : Connection reset
Starting with this release, when GSSAPI authentication occurs on Windows using WAFFLE, an error is not raised.
DatabaseMetaData.getImportedKeys()method is called, the result-set does not have the real key name in the
In previous releases, the
PK_NAMEcolumn was always
Starting with this release, the
SHOW CREATE TABLEstatement is used to obtain key names, and the
PK_NAMEcolumn is set to the real name of the primary key.
PreparedStatement.setNull()method is called as part of a batch operation, the operation is split into multiple operations instead of being batched. (CONJ-1016)
When a query is canceled using the
Statement.cancel()method, if another thread calls the
Statement.close()method at the same time, a race condition can cause a
NullPointerExceptionto be raised. (CONJ-1011)
When connecting by Unix socket, socket file descriptors are not properly closed if the attempt is made to connect when the database is not online (Unix socket path does not exist or connection fails). (CONJ-1007)