I ran the test case for HHH-7816 on master, out of curiosity. JPA 2.1 related code is causing an NPE when looking for the JTA transaction. This doesn't happen on 4.1.8.
Not sure it's an actual bug on our end, but documenting just in case...
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira