[hibernate-issues] [JIRA] (HHH-5034) Make CriteriaImpl.uniqueResult() more robust