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

    CMP in servlet and persistence, UserTransaction?

    alwyn

      Hi,

      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?