Can Spring transactions provide the necessary mutual exclusion if DB calls are coming from multiple machines?

DataSourceTransactionManager makes use of the setAutoCommit method on java.sql. Connection That in turn controls the transactional behaviour on the database server. The transaction itself resides in the database.

DataSourceTransactionManager makes use of the setAutoCommit method on java.sql.Connection. That in turn controls the transactional behaviour on the database server. The transaction itself resides in the database.So yes, what you want to do shouldn't be a problem.

– scompt. Com Jan 19 '10 at 13:44 DataSourceTransactionManager won't do that for you, no, that's an explicit command to the database. If you do it within the scope of the DataSourceTransactionManager transaction, though, the lock will obey the scope of that transaction.

– skaffman Jan 19 '10 at 13:59 Thanks for that confirmation! – URL1 Jan 19 '10 at 14:59.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions