hibernate/hibernate-orm — pull request #749 by FiatLox (2014-05-20 08:00:12+00:00)
Title: HHH-9186

https://hibernate.atlassian.net/browse/HHH-9186

Added an unit test and bug fix for the issue.