[hibernate-issues] [JIRA] (HHH-8541) EntityManager#getLockMode should technically throw TransactionRequiredException if transaction is not active