Hibernate StatelessSession methods return the deprecated type org.hibernate.Query in JBoss EAP 7.2

Solution Verified - Updated -

Issue

  • The interface org.hibernate.query.Query was introduced as a replacement for the deprecated org.hibernate.Query
  • org.hibernate.StatelessSession methods inherited from the super-interface org.hibernate.query.QueryProducer still return the deprecated Query 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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content