[hibernate-issues] [JIRA] (HHH-8890) JPQL to PostgresSQL not translated correctly