| 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. |