[hibernate-issues] [Hibernate-JIRA] (HHH-7818) JPA 2.1 code causing NPE when handling JTA transactions