I don't think this is an issue anymore. I added a test - https://github.com/hibernate/hibernate-orm/commit/18a255a0e0027d6761f4575ef06cc74f03f9f9a3 - and it seems to work.

Strong, could you verify this? I think we can resolve the issue.

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