MySQL57Dialect selected by automatic dialect resolution when using MySQL 8.0 database

Description

With MySQL 8 (e.g. 8.0.19), MySQL57Dialect is selected instead of MySQL8Dialect. Wrote a test that was examining the connection metadata:

Environment

Hibernate 5.3.14 / 5.3.15
MySQL 8.0.19

Activity

Show:
Nathan Xu
March 26, 2020, 4:24 PM
Edited

Not sure whether this ticket is related to a Spring Jira ticket:

Gail Badner
March 27, 2020, 4:27 AM

Fixed in master and 5.3 branches.

Assignee

Gail Badner

Reporter

Stephen Fikes

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure