pull request against master branch
https://github.com/hibernate/hibernate-orm/pull/350
pull request against 3.6 branch
https://github.com/hibernate/hibernate-orm/pull/351
HHH-6829 should be closed as a duplicate of this bug

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