Closed
Description
It used to be possible to provide an enum as a parameter for HQL queries where a criterion using that parameter matches on a string column.
I know that there are different options to have an enum directly in the property and map it to a string column on the database but sometimes there just might be the convention to use an enum for defining the possible values of a string column.
I would generally argue that enums should be treated like strings when mapped on string columns.