Enumerated "short name" handling in HQL

Description

E.g.

`"... from Person p where p.sex = MALE"`

See https://github.com/hibernate/hibernate-orm/pull/3509 as well as the discussion on https://hibernate.atlassian.net/browse/HHH-10282

Environment

None
Fixed

Assignee

Christian Beikov

Reporter

Steve Ebersole

Fix versions

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure