Both my and Scott's patch fixed the issue. My patch is currently little bit different than in jira description (I can't edit description): https://github.com/zroubalik/hibernate-orm/commit/537822c9d0f0a9ca5b85903f8f80074c0de6d03f

There's only one issue left: failing JPAProxyTest.testGetSemantics() test, waiting on Steve's opinion now.

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