[hibernate-issues] [JIRA] (HHH-16585) In hibernate 6 a EnumType is returned as an ordinal instead of the actual enum type