[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6988) BACKPORT: Criteria.setLockMode does not work correctly