• Post Reply Bookmark Topic Watch Topic
  • New Topic

ejb  RSS feed

 
Ramakrishnan thiyagarajan
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
 
Pradeep bhatt
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!