"HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query [null.elements]" in Hibernate 5
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 7
- Hibernate 5
Issue
HHH90000016: Found use of deprecated 'collection property' syntax in HQL/JPQL query ...WARN messages logged
Resolution
This issue is Content from issues.jboss.org is not included.resolved in cumulative patch (CP) 6 and later for EAP 7.0.
Root Cause
There is a known defect (Content from hibernate.atlassian.net is not included.HHH-11400) in certain versions of Hibernate when using the following in JPA and legacy (non-JPA) Hibernate queries:
member of <collection>size(<collection>)elements (<collection>)
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.