Ganesh Kumarmit wrote:Hi all,
I am working with spring mvc, spring supports the declarative transaction, but i am not able to understand how to manage the data cuncurreny in declarative transaction. I want to know it is automatically handle it or explicitly coding for it
It is automatically handled for you by your transactionManager bean you use in your configuration. Basically it will put the Connection stuff into
Thread Local, and all the code is done with AOP via Dynamic Proxies.
If you aren't sure about how proxies work, read the Spring framework docs on the Application Lifecycle and AOP.
Good Luck
Mark