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