Hibernate StatelessSession methods return the deprecated type org.hibernate.Query in JBoss EAP 7.2
Issue
- The interface
org.hibernate.query.Query
was introduced as a replacement for the deprecatedorg.hibernate.Query
org.hibernate.StatelessSession
methods inherited from the super-interfaceorg.hibernate.query.QueryProducer
still return the deprecatedQuery
interface.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.2
- Hibernate 5.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.