[hibernate-issues] [JIRA] (HHH-4177) Missing flush before lock() when LockModeType is AUTO