[hibernate-issues] [JIRA] (HHH-10687) Calling flush() after using merge() to persist new parent-child entities results in an exception