[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5938) Entities with compound primary keys are not properly handled when querying metamodel and using Criteria API