1 Reply Latest reply on Aug 30, 2004 7:01 PM by jcr

    HOWTO determine if the current thread's transaction is conta

    atonyd

      I sure this is a very simple question.

      I've got a CMT stateless session bean, containing some business logic, this bean would like to use some of our well tested utility code.

      One problem, some of this code is attempting to acquire a connection and perform an update operation, it uses the Connection objects commit and rollback.

      All methods are marked as transaction required.

      What I need to know is there a way of determining whether the current thread's transaction is container-managed.

      Any help or references would be much appreciated.