Tags: lazyinitializationexception

LazyInitializationException in servlet

November 29th, 2008
Problem: Web traffic is coming through Tomcat to one of your servlets. Your servlet accesses a couple of hibernate objects but when it tries to load a lazy proxy you get: org.springframework.web.util.NestedServletException: Request processing faile… more »

LazyInitializationException, Spring, Hibernate and JUnit Nightmere

October 15th, 2008
When using hibernate inside a container like Tomcat or JBoss the transaction manager is set up as part of the container's configuration. The container handles the transaction synchronisation and tells the application when to start and stop the transactio… more »