[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6095) Improve the way AbstractEntityManagerImpl.flush checks for an active transaction, should apply to other AbstractEntityManagerImpl methods that also check for an active tx