Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
3.2.0, 3.1.4
-
None
Description
I'm using the Azure Database for MariaDB service which runs a MariaDB 10.3 instance.
The problem is that the MariaDB Connector detects the DB as MySQL 5.6.47.0
You can see in the screenshot that 'mariadDBServer' is false.
The getDatabaseProductName method will return "MySQL" instead of "MariaDB".
But maybe most importantly for me, the reported version is also 5.6.47.
Hibernate 6 will then read such metadata and emit the following warning:
The 5.6.47 version for [org.hibernate.dialect.MariaDBDialect] is no longer supported, hence certain features may not work properly. The minimum supported version is 10.3.0. Check the community dialects project for available legacy versions.
|
You can see in the picture that 5.6.47 is compared with 10.3 (the minimum) and found to be lower:
The fix would be MariaDB Connector recognizing the DB for what it is: MariaDB 10.3.
Tested with MariaDB Connector 3.1.4 and 3.2.0.