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

SessionFactoryDelegatingImpl.registerNamedSQLQueryDefinition call wrong delegate method

Description

When i use SessionFactoryDelegatingImpl i found bug:

and

Link in the code:
https://github.com/hibernate/hibernate-orm/blob/master/hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java

Method registerNamedSQLQueryDefinition of the class SessionFactoryDelegatingImpl call delegate.registerNamedQueryDefinition, not registerNamedSQLQueryDefinition.
I can override this behavior, but this behavior seems to be wrong.

Environment

WildFly 10.1.0.Final
hibernate-core-5.0.10.Final

Status

Assignee

Andrea Boriero

Reporter

Роджер Весёлый

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.11
5.2.3
5.0.10

Priority

Minor