3 Replies Latest reply on Mar 30, 2004 1:09 AM by Alexey Loubyansky

    CMP in servlet and persistence, UserTransaction?

    Alwyn Schoeman Newbie


      I am using CMP within a servlet. Commit option D is used. I also access the Bean via getPrimaryKey and not a finder.

      Would the above be sufficient to ensure that the bean is cached? Or must I also use a UserTransaction?