0 Replies Latest reply on Nov 7, 2006 9:31 AM by kannan

    Seam Book : Simulating Multi Page Transaction

    kannan

      Hello:

      I have a doubt regarding the example given with section (7.4) which describes multipage transaction in Seam Book. In the example, the TransactionAtribute of the method with the @End annotation is set with value NOT_SUPPORTED. In this method em.flush() is called. Is this correct ? In this case, who is responsible for transaction demarcation since the EJB container will not take care of Tx since the Tx Attribute is NOT_SUPPORTED. Also, is it possible to call em.flush() in a method with Tx Attribute = NOT_SUPPORTED ?

      thanks and regards,

      -- Kannan