Tags: transaction

Active Spring transaction synchronization or active JTA

January 30th, 2012
During Spring development I got this exception, but there was almost no reference to what caused it. So after a lot of searching I found out the cause and thought I'd blog it for others struggling with the same problem. 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 »