Hibernate StatelessSession methods return the deprecated type org.hibernate.Query in JBoss EAP 7.2
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7.2
- Hibernate 5.3
Issue
- The interface
org.hibernate.query.Querywas introduced as a replacement for the deprecatedorg.hibernate.Query org.hibernate.StatelessSessionmethods inherited from the super-interfaceorg.hibernate.query.QueryProducerstill return the deprecatedQueryinterface.
Resolution
This issue1 is resolved in This content is not included.EAP 7.2 cumulative patch (CP) 1 and later releases.
Root Cause
This is a known issue (Content from hibernate.atlassian.net is not included.HHH-13194) in the EAP 7.2 GA.
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.