[hibernate-issues] [JIRA] (HHH-11393) Hibernate/JPA CriteriaQuery trim function generate wrong SQL for PostgreSQL