hibernate/hibernate-orm — pull request #603 by elDracoRus (2013-09-29 17:21:27+00:00)
Title: HРР-8573: Test case and fix

Comment in EntityType.java has been removed, because I think that the patch does what the commentator had in mind. A test case illustrates just one of the possible situations although there may be other similar ones.
I think these changes should be merged also in the 4.2 branch to get quickly to users.