[hibernate-issues] [JIRA] (HHH-17050) JPA Criteria Queries using datediff and temporal units broken due to SqmDurationUnit cast