[hibernate-issues] [JIRA] (HHH-7438) Criteria generated with Projections.rowCount() doesn't contains restrictions, introduced by JPA annotations (not nullable columns)