[hibernate-issues] [JIRA] (HHH-16859) max() doesn't work with Enums