Feb 27th, 2006, 08:00 AM
Spring Transaction manager
Are there any restrictions on use of Spring Transaction manager? or scenarios where Spring Transaction manager has limitations compared to J2EE transaction manager? For example using MDBs or distributed transactions etc.. I see Rod Johnson's quote as "Spring Transaction manager is more powerful than J2EE transaction manager." I just want to make sure if there are any scenarios where spring transactions are not advised or will nor work.
Feb 27th, 2006, 09:13 AM
Spring's transaction manager is an abstraction on existing transaction manager strategies, including JTA. It is designed to either manage a transaction itself or to hook into a transaction already taking place.
I have never heard of a case where you couldn't use Spring's transaction support to replace or sit on top of standard transaction managers.
Mar 19th, 2006, 07:00 AM
Unless you have distributed XA transactions across AppServers/JVM's. Spring does not propergate the transaction context.