Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction not Rolling Back

Gul Khan
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having trouble in txn roll back when along the chain one of the operations fail. All my EJBs are Stateless have CMT =Required and. I am using weblogic 8.1
the chain is such that DelagateA-->EJBa-->DelegateB-->EJBb
when the DAO at the throws an Exception the txn is not rolled back which started in EJBa.
Follwing is a method from EJBb

Code for EJBa is like this ultimately calling the EJBa above method.

Thanks in advance for any help.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic