• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb  RSS feed

 
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i can't understand the session synchronization concept.
i know sessionbean can catche the database data if the transactions are rolled back.actually my question is how the data can modify if the transaction is rolled back.why can sesionbean catche the data?
pls clarify my doubt
 
Ranch Hand
Posts: 8933
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

how the data can modify if the transaction is rolled back.



If the data in SFSB is updated and transaction gets rolled back, the data IN SFSB is not automatically restored to the previous state, so SessionSynchronization gives the developer an opportunity to move the state to previous consistent state. Hope this helps.
 
Get out of my mind! Look! A tiny ad!
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!