The Artima Developer Community
Sponsored Link

Java Answers Forum
Need help with transactions

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Betouche

Posts: 1
Nickname: fazia
Registered: Dec, 2002

Need help with transactions Posted: Dec 13, 2002 8:20 AM
Reply to this message Reply
Advertisement
Hi,

A method a in stateless bean A calls a method b in an EJB B and a method c in an EJB C. Beans B and C run in 2 different servers and update 2 different data bases. All the beans are container managed and the methods have their transaction attribute set to "Supports". The bean A is called by a servlet. My problem is when a problem happens, the transaction is not rolled back. I tried to use setRollBackOnly method but I've got an error saying that I can't call this method because bean A is not participating to the transaction. What shall I do?
Thank you for your help

Topic: basic search Previous Topic   Next Topic Topic: Creat/building tray icon for a java application

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use