1 Reply Latest reply on Oct 21, 2003 3:04 PM by divine_comedy

    UserTransaction Question

    divine_comedy

      Hi All, assuming I have the following scenario where I have a session bean with container managed transaction. What would happen when I use a UserTransaction inside the bean ? Assuming there are two of such session beans each of which is accessing the same entity bean. Would that actually cause a lock up and why ?

        • 1. Re: UserTransaction Question
          divine_comedy

          Sorry, I posted the wrong detail, we actually set the configuration correctly to BeanManaged Transaction.
          I guess the real question is : if 2 Stateless Session Bean both of which uses Bean Managed Transaction and they were both using the same non read-only method ( a write ), would that cause a lock ? This seems to be what I am seeing.