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

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

Components

Fix versions

Affects versions

5.0.10
5.0.11
5.2.3

Priority

Minor