hibernate/hibernate-orm — pull request #400 by brmeyer (2012-10-26 17:57:22+00:00)
Title: HHH-1570

https://hibernate.onjira.com/browse/HHH-1570

I applied a combination of the JIRA ticket's attached patches. The original problem is fixed, but 2 regressions have been created:

ComplexJoinAliasTest#testCriteriaThroughCompositeId
FumTest#testKeyManyToOne

The FumTest regression is mentioned in the JIRA comments -- it may be a separate problem that is now exposed.