Problem occurs only when composite primary key have associated entity id.
When entity contain associated entity as property hibernate generates inner join from criteria and all works without problems.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Problem occurs only when composite primary key have associated entity id.
When entity contain associated entity as property hibernate generates inner join from criteria and all works without problems.