[hibernate-issues] [JIRA] (OGM-1478) Throw proper exception when EntityManager#getCriteriaBuilder() is called