[hibernate-issues] [Hibernate-JIRA] (HHH-7567) Better checking when @Enumerated involved