Due to a bug in version 3.3.2 (and earlier version maybe), the entity-name attribute isn't used correctly in a subclass mapping.
Due to this bug, Hibernate will throw an exceptions when performing a save/update actions on the "first run". It will the perform a second run to find the entity name (= class name), and if you are not using entity-name in a subclass you will be fine.
Still, the exception, which you don't see, is expensive and might happen in your code as well, mannnny times....
If you are experiencing this (you might not see it anyway), please vote on the bug in jira:
http://opensource.atlassian.com/project ... e/HHH-4036The solution is very simple.... The developers just have to change a single line in the code (key in a map is used incorrectly)....
Because of this, I hope the Hibernate developers will include this bug fix quickly and release it soon.
Thanks,
Ed