4 Replies Latest reply on Dec 1, 2003 5:39 AM by rafcio

    Cache Problem

    henschel

      Hi,

      I have a CMP 2.0 Bean that used the commit option c and list-cache-max is 0. But if I used findByPrimaryKey, JBoss cached the entities.
      Where can I switch off, that JBoss cached entities from a bean.

      Ragards Torsten

        • 1. Re: Cache Problem
          nraghuram

          commit option C does not cache the instance between transactions, only during a transaction. are u finding cached entities within a transaction (which is expected) or between transactions (which shouldnt happen)
          raghu

          • 2. Re: Cache Problem
            henschel

            Okay, that's the correct answer, but I use commit option c for this bean and jboss cache the entities!

            Torsten

            • 3. Re: Cache Problem
              srwr

              Hi, I am facing the same problem!
              I am using jBoss 3.0.* on Red Hat Linux.
              I tried changing the standardjboss.xml for default commit-option to C (which is A for Standard BMP Entity Bean which is what I am using it caches)

              Any workwround ???

              bye

              srwr

              • 4. Re: Cache Problem
                rafcio

                Hi,

                this should be fiexed in JBoss 3.2.3.


                Rafal