• Post Reply Bookmark Topic Watch Topic
  • New Topic

system exceptions + transaction rollback

 
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
In the spec p.376, it is said that in the case of bean methods running in the context of a transaction that the container started immediately before dispatching the business method, when a system exception arises,
if the client executes in a transaction, the client's transaction may or may not be marked for rollback

On which actions (only Container's one) does it depend on? May the bean provider play a role in this choice?
Thanks for your answers,
Regards,
Cyril.
 
cyril vidal
Ranch Hand
Posts: 247
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, it seems to be the role of the bean provider to write something like this:
remote client

local client
 
Sati Sidhu
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys, I was also looking for the same answer.

Regards,

Sati.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!