• Post Reply Bookmark Topic Watch Topic
  • New Topic

EPractice Labs final exam question 43

 
Himai Minh
Ranch Hand
Posts: 1400
8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried the code from this question:


According to the explanation of the test, the commit() method will throw IllegalStateException.
But it actually throws javax.transaction.RollbackException: Transaction marked for rollback. ....
at com.scbcd6.enthu.ProcessOrderBean.endProcess()...

 
get schwifty. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!