CGLIBLazyInitializer « Development « JPA Q&A





1. CGLIBLazyInitializer does not proxy package private methods    forum.hibernate.org

I have an object that contains a collection mapping (set, one-to-many). This object itself is cached and referenced by others in a many-to-one. It all works when the object is not in the cache. If it is in the cache, the many-to-one only contains a Proxy (CGLIBLazyInitializer ), which is all well. unfortunatelly the proxy does not seem to take care ...

2. Proxies, the visitor pattern and CGLibLazyInitializer    forum.hibernate.org

Author Message kenevel Post subject: Proxies, the visitor pattern and CGLibLazyInitializer Posted: Tue Jun 07, 2005 1:02 pm Newbie Joined: Sun Apr 10, 2005 9:35 pm Posts: 14 Hi there, Hibernate: 3.0.5 Spring: 1.2.1 Tomcat: 5.0.27 JVM: 1.4.2_06 OS: Windows XP I'm having some trouble with lazy initialisation of proxies and the visitor pattern. I'm retrieving a collection of ...

3. memory leak with CGLIBLazyInitializer (steps to reproduce)    forum.hibernate.org

1. download hibernate 3.2 source code bundle 2. open eg/org/hibernate/auction/Main.java add the following line at the end of main function mainItem = null; mainBidder = null; mainSeller = null; test.factory = null; Thread.currentThread().sleep(10000000); this will remove all the reference from the Main class to hibernate and hanging the process for profiling. 3. run the profiler, trigger the gc a couple times. ...

4. .CGLIBLazyInitializer can not access a public member    forum.hibernate.org

Author Message dcendents Post subject: .CGLIBLazyInitializer can not access a public member Posted: Tue Jan 09, 2007 8:18 am Newbie Joined: Thu Sep 09, 2004 1:05 pm Posts: 4 Hi, I am trying to migrate from hibernate 3.1.3 to 3.2.1 ga. I changed all the return types of COUNT to Long (as specified in the migration document) but the ...

5. CGLIBLazyInitializer Losing Lazy Set    forum.hibernate.org

I have a lazy many-to-many Set associated with a parent object. The Set gets updated in a web controller and gets passed on to a DAO to be saved. The problem is the Set is being set to null when it is passed to the DAO. This is strange as I can see the Set (as the target of a org.hibernate.proxy.CGLIBLazyInitializer) ...