0 Replies Latest reply on Aug 28, 2008 4:08 AM by liumin hu

    question about transaction

    liumin hu Master


      I am working with an old database without transaction, So I add

      to my sessionbean. but i get this exception
      EntityManager must be access within a transaction
      when I persist an object.

      If i comment the @TransactionAttribute, the persist works, But i got a
      after invoke the EJB method.

      what should i do to avoid these problems?

      thanks in advance