[hibernate-issues] [JIRA] (HHH-4717) JPQL select using object() syntax fails in some cases