Wrong deprecated warning HHH90000016 on queries with a collection function

Description

While executing a query with a simple collection function (e.g. size(), elements()), a wrong warning HHH90000016 is writting to the log.
The syntax of the query is according to the documentation (http://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html#hql-collection-expressions), e.g. "from persongroup where size(persons) = 0"

In correctly defined queries no warning is expected.

See sample code.

Environment

None

Assignee

Unassigned

Reporter

F. Martin

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Minor
Configure