I have added a test case that shows the problem to hibernate-core\src\test\java\org\hibernate\test\entitymode\map\basic\DynamicClassTest.java
I have added a test case that shows the problem to hibernate-core\src\test\java\org\hibernate\test\entitymode\map\basic\DynamicClassTest.java