Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ets question on setrollbackonly

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1)
ETS:
A drag and drop question from ETS says that afterBegin() can invoke setRollBackOnly(). When i did so, the bean instance was destroyed. This was
confirmed when @PreDestroy() method was invoked.

I removed context.setRollbackOnly() call from afterBegin() as a result the business method was invoked.

Please confirm this behavior
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please take time and respond this question.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic