Performance regression in org.hibernate.engine.spi.SessionFactoryImplementor#getDialect

Description

This method was deprecated, but it's still being used by many other classes across the ORM codebase.

It's being a problem because this method used to be quite efficient, while nowadays it requires a ServiceRegistry lookup.

Environment

None

Status

Assignee

Sanne Grinovero

Reporter

Sanne Grinovero

Fix versions

Labels

None

backPortable

Backport?

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure