[hibernate-issues] [JIRA] (HHH-17077) Improve batching and locking design