We're updating the issue view to help you get more done. 

Restore StandardDialectResolver as non-final

Description

Mark StandardDialectResolver as final break backward compatibility, Developers can customize dialect resolver base on standard implementation, for official release doesn't resolved latest dialect, or customized dialect.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 public class MyDialectResolver extends StandardDialectResolver { private static final long serialVersionUID = -3451798629900051614L; @Override public Dialect resolveDialect(DialectResolutionInfo info) { DatabaseProduct database = DatabaseProduct.parse(info.getDatabaseName()); int majorVersion = info.getDatabaseMajorVersion(); if (database == DatabaseProduct.MYSQL) { if (majorVersion == 8) return new MySQL8Dialect(); } return super.resolveDialect(info); } }

Environment

None

Status

Assignee

Vlad Mihalcea

Reporter

Yanming Zhou

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.4.0.CR2

Priority

Major