[hibernate-issues] [JIRA] (HHH-12931) Revert HHH-12542 as it introduces some issues with the security manager