[hibernate-issues] [JIRA] (HHH-4795) Comparing OneToOne mappedBy column to null generates wrong SQL