1 Reply Latest reply on Apr 9, 2002 8:15 AM by Daniel Georges

    How to encapsulat Container manage EJBs in a transaction.

    Daniel Georges Newbie

      Hi!

      I have to use a transaction which writes several diffrent entity beans(CMP) into the db. I would like to encapsulate the transaction in a statless session bean.
      Unfortunately I read that it is impossible to use a UserTransaction. Error is "CMT beans are not allowed to get a UserTransaction". What can I do??

      Thanks a lot for any hint or code snippet
      Dan