• Post Reply Bookmark Topic Watch Topic
  • New Topic

Transaction rollback question

 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The above code does not roll back commited data when somethign goes wrong in one of the several commands that interact with the EJBs.
All the EJBs have "Required" specified as the transaction attribute.
Am not sure why it does'nt rollback data when an exception is thrown?
I guess the EJB methods will also align themselves under the transaction that i have explicitly started in the client.
Please suggest something to achivee rollback
 
Karthik Guru
Ranch Hand
Posts: 1209
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i realized that i wan't using TXDataSource!. Just switched to it.
Suddenly everythign has gone slow. Infact the server gets stuck @ various places ( the update / create involves considerable data)
any idea as to why this is happening
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!