[hibernate-dev] Static meta-model and references to SessionFactoryImpl

2011-07-19 Thread Gunnar Morling
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

Re: [hibernate-dev] Patch for HHH-6361 / HHH-6349 : Envers loses audit information due to a Hibernate core bug

2011-07-19 Thread Scheper, Erik-Berndt
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://