• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to get TxRolledbackException?

 
G.I. joe chen
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
under what situation will the client get TransactionRolledbackException?
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See this thread
 
Sujatha Kumar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a bean instance is executing within a transaction and if any error occurs at this moment, the container will throw javax.transaction.TransactionRolledbackException
 
Weerawit Maneepongsawat
Ranch Hand
Posts: 203
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sujatha Kumar:
If a bean instance is executing within a transaction and if any error occurs at this moment, the container will throw javax.transaction.TransactionRolledbackException

It should be caller's transaction
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic