Release Notes for MariaDB Connector/J 2.7.8
This page is part of MariaDB's Documentation.
The parent of this page is: Release Notes for MariaDB Connector/J 2.7
Topics on this page:
Overview
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.8 was released on 2023-01-24. This release is of General Availability (GA) maturity. This release is compatible with JDBC 4.2.
Issues Fixed
When a stored procedure is called in a security context with the
SUPERprivilege, the max statement timeout is not respected. (CONJ-1039)In previous releases, this problem could occur when a
CallableStatementobject is used to call a stored procedure, and thesetQueryTimeout()method is used.A stored procedure is executed in a security context with the
SUPERprivilege in the following situations:The stored procedure is defined with
SQL SECURITY DEFINERand hasDEFINER=some_user, wheresome_userhas theSUPERprivilege.The stored procedure is defined with
SQL SECURITY INVOKERand the invoking user has theSUPERprivilege.
Starting with this release, max statement timeouts should be compatible with stored procedures executed in a
SUPERsecurity context.
When MariaDB Connector/J writes to its packet buffer, it can throw an
ArrayIndexOutOfBoundsExceptionexception. (CONJ-1041)When Connector/J performs an SSL Handshake, it sets the
CLIENT_SSLcapability flag in the SSL Connection Request Packet, but not in the Handshake Response Packet. (CONJ-1023)In previous releases, the
CLIENT_SSLcapability flag is not required to be set in the Handshake Response Packet, so this issue is only noticed when inspecting the network traffic.Starting with this release, Connector/J sets the
CLIENT_SSLcapability flag in both the SSL Connection Request Packet and in the Handshake Response Packet.
