• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Data concurrency in spring

 
Greenhorn
Posts: 15
MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
reply
    Bookmark Topic Watch Topic
  • New Topic