1 Reply Latest reply on Jun 24, 2002 8:04 PM by dsundstrom

    ejbStore for CMP Beans

    rjalagania

      Hi all,

      I have following question:
      my CMP beans (both entity and session) are calling ejbStore after each business method, that has a havy overhead in performance, does anyone know how to prevent this?

      Rusudan

        • 1. Re: ejbStore for CMP Beans
          dsundstrom

          You are not a single wrapping tansaction, so each method invocation takes place in it's own transaction. At the end of a transaction the contrainer stores each entity accessed in the transaction.

          You can prevent this by putting the code in a session bean or by using a UserTransaction.