Would be great if you could also apply this on the 4.1 branch.
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
I prepared a pull request:
https://github.com/hibernate/hibernate-orm/pull/478
Would be great if you could also apply this on the 4.1 branch.