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