Have any Spring jta sample code? I want to update 2 database?
Have any Spring jta sample code? I want to update 2 database?
Take a look at the JPetStore sample which can work with local JDBC transactions or JTA.
You will find a lot of threads on JTA in the forums also. there is at least one example with JTA (jms and jdbc) on the wiki and I assume you can find some more information using springhub.com.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags