All entries for Wednesday 12 April 2006
April 12, 2006
Yeah! Hibernate doesn't require cglib
Writing about web page http://hibernate.org/250.html#A37
There has been a long running problem with the combination of hibernate, CGLIB and an application server resulting in memory leaks. There seems to be some debate about whether it is purely a fault of CGLIB or not, and I don't know enough (or care) to make a guess. I do know that CGLIB is a fantastic and extremely powerful library :)
The problem manifests itself in only being able to deploy a handful of times on before running out of heap space.
Anyways, it appears Hibernate 3.2 is no longer dependant upon CGLIB. Yeah :)
Given that we do not use CGLIB in spring (we use JDK proxies) this might just mean we can deploy more than 5 times :) Very useful when developing ;)