[hibernate-issues] [JIRA] (HSEARCH-2910) JSR-352: Use JPA Criteria instead of the deprecated native Criteria, or hide the deprecation warnings in logs