• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to understand this statement ?

 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A session object's conversational state is not transactional.
It is not automatically rolled back to its initial state if the transaction in which the object has participated rolls back.


A session object's conversational state is not transactional ?

if we are using transactions, then session object's conversational state is transactional ?
 
Vishwanathan Nagarajan
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Amandeep,

If a rollback could result in an inconsistency between a session object's conversational state and the state of the underlying database, the bean developer must use the afterCompletion notification to manually reset its state.

I hope this helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic