Hi,
while analyzing a memory leak I noticed that instances of the static
JPA 2 meta model seem to hold references to Hibernate's session
factory. In my case the path to the factory is the following:
SingularAttributeImpl#attributeType ->
EmbeddableTypeImpl#hibernateType -> ComponentType#typeScope
Hi,
I've updated the original pull request
(https://github.com/hibernate/hibernate-core/pull/118) to address the Map
sizing issue. I've also removed a few debug log statements which could provoke
a NPE.
I've also done the 4.0 port and added a new pull request for the current master
(https://