[hibernate-issues] [JIRA] (HHH-4642) Unexpected results when an entity with non-flushed changes is changed from read-only to modifiable