[hibernate-issues] [Hibernate-JIRA] (HHH-7887) use JandexHelper.getEnumValue to get a enum value